mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-30 11:26:53 -05:00
menubar selected fix
This commit is contained in:
parent
8cec180353
commit
3a70ca4e08
2 changed files with 5 additions and 1 deletions
2
assets
2
assets
|
@ -1 +1 @@
|
||||||
Subproject commit b5a90d79524c2e1d770b447bf88bd6ebbe65bd85
|
Subproject commit d29187aeafbb560ec62b15c52fff8c0281912431
|
|
@ -435,6 +435,10 @@ class ChartEditorToolboxHandler
|
||||||
|
|
||||||
if (toolbox == null) return null;
|
if (toolbox == null) return null;
|
||||||
|
|
||||||
|
toolbox.onDialogClosed = function(_) {
|
||||||
|
state.menubarItemToggleToolboxPlaytestProperties.selected = false;
|
||||||
|
}
|
||||||
|
|
||||||
var checkboxPracticeMode:Null<CheckBox> = toolbox.findComponent('practiceModeCheckbox', CheckBox);
|
var checkboxPracticeMode:Null<CheckBox> = toolbox.findComponent('practiceModeCheckbox', CheckBox);
|
||||||
if (checkboxPracticeMode == null) throw 'ChartEditorToolboxHandler.buildToolboxPlaytestPropertiesLayout() - Could not find practiceModeCheckbox component.';
|
if (checkboxPracticeMode == null) throw 'ChartEditorToolboxHandler.buildToolboxPlaytestPropertiesLayout() - Could not find practiceModeCheckbox component.';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue