Fixes for updated HaxeUI and Flixel.

This commit is contained in:
EliteMasterEric
2023-12-15 21:09:01 -05:00
parent 8dd6f29e26
commit 88ca58f9e2
11 changed files with 99 additions and 112 deletions
@@ -11,16 +11,16 @@ import haxe.ui.core.Component;
@:access(funkin.ui.debug.charting.ChartEditorState)
class ChartEditorBaseDialog extends Dialog
{
var state:ChartEditorState;
var chartEditorState:ChartEditorState;
var params:DialogParams;
var locked:Bool = false;
public function new(state:ChartEditorState, params:DialogParams)
public function new(chartEditorState:ChartEditorState, params:DialogParams)
{
super();
this.state = state;
this.chartEditorState = chartEditorState;
this.params = params;
this.destroyOnClose = true;
@@ -47,7 +47,7 @@ class ChartEditorBaseDialog extends Dialog
*/
public function onClose(event:DialogEvent):Void
{
state.isHaxeUIDialogOpen = false;
chartEditorState.isHaxeUIDialogOpen = false;
}
/**