From 7f734b6aaaa4e64855dd918b4eb81604952408c2 Mon Sep 17 00:00:00 2001 From: Sonamaker1 <87080176+Sonamaker1@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:39:25 -0700 Subject: [PATCH] Added linux cursors Note: DRAG_OPEN and MOVE are not available on my linux flavor. May need more testing --- source/funkin/editors/stage/StageEditor.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/stage/StageEditor.hx b/source/funkin/editors/stage/StageEditor.hx index 1d2766ab..f19bfc3e 100644 --- a/source/funkin/editors/stage/StageEditor.hx +++ b/source/funkin/editors/stage/StageEditor.hx @@ -1134,7 +1134,10 @@ class StageEditor extends UIState { case TOP_MIDDLE: RESIZE_T; case TOP_RIGHT: RESIZE_TR; case MIDDLE_LEFT: RESIZE_L; - case CENTER_CIRCLE: #if mac FlxG.mouse.pressed ? DRAG : DRAG_OPEN #else MOVE #end; + case CENTER_CIRCLE: + #if (mac) FlxG.mouse.pressed ? DRAG : DRAG_OPEN + #elseif (linux) FlxG.mouse.pressed ? DRAG : CLICK + #else MOVE #end; case MIDDLE_RIGHT: RESIZE_R; case BOTTOM_LEFT: RESIZE_BL; case BOTTOM_MIDDLE: RESIZE_B;