v0.8.0: tweaked scroll zooming to round instead of floor
This commit is contained in:
parent
94078bd9b9
commit
39525ec0f1
|
@ -69,7 +69,7 @@ public class CellSelector extends ScrollArea {
|
|||
diff = Math.min(1, diff);
|
||||
mouseZoom = GameMath.gate( PixelScene.minZoom, mouseZoom - diff, PixelScene.maxZoom );
|
||||
|
||||
zoom( (int)Math.floor(mouseZoom) );
|
||||
zoom( Math.round(mouseZoom) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user