menubar selected fix

This commit is contained in:
Cameron Taylor
2023-12-10 03:49:24 -05:00
parent 8cec180353
commit 3a70ca4e08
2 changed files with 5 additions and 1 deletions
+1 -1
Submodule assets updated: b5a90d7952...d29187aeaf
@@ -435,6 +435,10 @@ class ChartEditorToolboxHandler
if (toolbox == null) return null;
toolbox.onDialogClosed = function(_) {
state.menubarItemToggleToolboxPlaytestProperties.selected = false;
}
var checkboxPracticeMode:Null<CheckBox> = toolbox.findComponent('practiceModeCheckbox', CheckBox);
if (checkboxPracticeMode == null) throw 'ChartEditorToolboxHandler.buildToolboxPlaytestPropertiesLayout() - Could not find practiceModeCheckbox component.';