diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/CellSelector.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/CellSelector.java index 5a41da4cf..e45f1447d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/CellSelector.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/CellSelector.java @@ -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