diff --git a/hmm.json b/hmm.json index d967a69b3..78c891078 100644 --- a/hmm.json +++ b/hmm.json @@ -35,13 +35,6 @@ "ref": "951a0103a17bfa55eed86703ce50b4fb0d7590bc", "url": "https://github.com/FunkinCrew/flixel-text-input" }, - { - "name": "flixel-ui", - "type": "git", - "dir": null, - "ref": "27f1ba626f80a6282fa8a187115e79a4a2133dc2", - "url": "https://github.com/HaxeFlixel/flixel-ui" - }, { "name": "flxanimate", "type": "git", diff --git a/source/funkin/ui/debug/anim/DebugBoundingState.hx b/source/funkin/ui/debug/anim/DebugBoundingState.hx index 7bb42c89e..19391f8d9 100644 --- a/source/funkin/ui/debug/anim/DebugBoundingState.hx +++ b/source/funkin/ui/debug/anim/DebugBoundingState.hx @@ -77,7 +77,7 @@ class DebugBoundingState extends FlxState { // get the screen position, according to the HUD camera, temp default to FlxG.camera juuust in case? var hudMousePos:FlxPoint = FlxG.mouse.getScreenPosition(hudCam ?? FlxG.camera); - return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y); + return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y) || FlxG.mouse.overlaps(animDropDownMenu, hudCam); } override function create() @@ -239,6 +239,11 @@ class DebugBoundingState extends FlxState { movingCharacter = false; } + + if (FlxG.mouse.justReleased) + { + movingCharacter = false; + } } }