This commit is contained in:
Anuken
2020-01-12 11:19:24 -05:00
parent dbc45985ce
commit 8364ca6b17
+1 -1
View File
@@ -189,7 +189,7 @@ public class MapView extends Element implements GestureListener{
lastTool = null; lastTool = null;
} }
if(ui.editor.hasPane()) return; if(Core.scene.getScrollFocus() != this) return;
zoom += Core.input.axis(KeyCode.SCROLL) / 10f * zoom; zoom += Core.input.axis(KeyCode.SCROLL) / 10f * zoom;
clampZoom(); clampZoom();