From a839bd4bcbefc6b14d67563650f7a66c56324bae Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:22:49 -0700 Subject: [PATCH] fix dumbass issue only on linux for some reason --- source/funkin/editors/character/CharacterEditor.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/character/CharacterEditor.hx b/source/funkin/editors/character/CharacterEditor.hx index d05614e7..1dc58365 100644 --- a/source/funkin/editors/character/CharacterEditor.hx +++ b/source/funkin/editors/character/CharacterEditor.hx @@ -279,7 +279,7 @@ class CharacterEditor extends UIState { openContextMenu(topMenu[2].childs); } - if (FlxG.mouse.pressed) { + if (FlxG.mouse.pressed && !FlxG.mouse.justPressed) { _nextScroll.set(_nextScroll.x - FlxG.mouse.deltaScreenX, _nextScroll.y - FlxG.mouse.deltaScreenY); currentCursor = HAND; } else