This commit is contained in:
Anuken
2020-01-12 11:19:24 -05:00
parent dbc45985ce
commit 8364ca6b17

View File

@@ -189,7 +189,7 @@ public class MapView extends Element implements GestureListener{
lastTool = null;
}
if(ui.editor.hasPane()) return;
if(Core.scene.getScrollFocus() != this) return;
zoom += Core.input.axis(KeyCode.SCROLL) / 10f * zoom;
clampZoom();