diff --git a/core/src/mindustry/editor/MapView.java b/core/src/mindustry/editor/MapView.java index 6787f418ab..f2d5b45dbd 100644 --- a/core/src/mindustry/editor/MapView.java +++ b/core/src/mindustry/editor/MapView.java @@ -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();