File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
source/funkin/ui/debug/charting Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2821,19 +2821,20 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
28212821
28222822 // Setup character dropdowns.
28232823 FlxMouseEvent .add (healthIconDad , function (_ ) {
2824- if (! isCursorOverHaxeUI )
2824+ if (! isCursorOverHaxeUI && persistentDraw && persistentUpdate )
28252825 {
28262826 this .openCharacterDropdown (CharacterType .DAD , true );
28272827 }
28282828 });
28292829
28302830 FlxMouseEvent .add (healthIconBF , function (_ ) {
2831- if (! isCursorOverHaxeUI )
2831+ if (! isCursorOverHaxeUI && persistentDraw && persistentUpdate )
28322832 {
28332833 this .openCharacterDropdown (CharacterType .BF , true );
28342834 }
28352835 });
28362836
2837+
28372838 buttonSelectOpponent = new Button ();
28382839 buttonSelectOpponent .allowFocus = false ;
28392840 buttonSelectOpponent .text = " Opponent" ; // Default text.
You can’t perform that action at this time.
0 commit comments