From 045176c446a92eccfc77666f9bd2624359c9e111 Mon Sep 17 00:00:00 2001 From: NeeEoo Date: Sat, 13 Apr 2024 18:07:02 +0200 Subject: [PATCH] fix bug --- source/funkin/editors/stager/StageEditor.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/stager/StageEditor.hx b/source/funkin/editors/stager/StageEditor.hx index 69776852..935ceac2 100644 --- a/source/funkin/editors/stager/StageEditor.hx +++ b/source/funkin/editors/stager/StageEditor.hx @@ -360,7 +360,7 @@ class StageEditor extends UIState { characterBG.scale.set(FlxG.width/characterBG.width, FlxG.height/characterBG.height); characterBG.scale.set(characterBG.scale.x / charCamera.zoom, characterBG.scale.y / charCamera.zoom);*/ - if (true/*!(characterPropertiresWindow.hovered || characterAnimsWindow.hovered) && !characterAnimsWindow.dragging*/) { + if (!(stageSpritesWindow.hovered) && !stageSpritesWindow.dragging) { if (FlxG.mouse.wheel != 0) { zoom += 0.25 * FlxG.mouse.wheel; updateZoom();