mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 16:17:53 -05:00
dialog cursor fix
This commit is contained in:
parent
63f65149f7
commit
cdfb3fb172
1 changed files with 2 additions and 1 deletions
|
@ -2951,9 +2951,10 @@ class ChartEditorState extends HaxeUIState
|
|||
if (FlxG.mouse.justReleased) FlxG.sound.play(Paths.sound("chartingSounds/ClickUp"));
|
||||
|
||||
// Note: If a menu is open in HaxeUI, don't handle cursor behavior.
|
||||
var shouldHandleCursor:Bool = !(isHaxeUIFocused || playbarHeadDragging)
|
||||
var shouldHandleCursor:Bool = !(isHaxeUIFocused || playbarHeadDragging || isHaxeUIDialogOpen)
|
||||
|| (selectionBoxStartPos != null)
|
||||
|| (dragTargetNote != null || dragTargetEvent != null);
|
||||
|
||||
var eventColumn:Int = (STRUMLINE_SIZE * 2 + 1) - 1;
|
||||
|
||||
// trace('shouldHandleCursor: $shouldHandleCursor');
|
||||
|
|
Loading…
Reference in a new issue