v0.9.3: fixed inconsistencies between mouse and button zooming

This commit is contained in:
Evan Debenham
2021-05-22 20:23:14 -04:00
parent 7df37976ce
commit 6e324d7d0b

View File

@@ -245,10 +245,12 @@ public class CellSelector extends ScrollArea {
} else {
if (action == SPDAction.ZOOM_IN){
zoom( camera.zoom+1 );
mouseZoom = camera.zoom;
return true;
} else if (action == SPDAction.ZOOM_OUT){
zoom( camera.zoom-1 );
mouseZoom = camera.zoom;
return true;
}
}