Disable edit buttons if no selection

This commit is contained in:
Lasercar
2026-03-09 08:41:21 -06:00
committed by Hundrec
parent cf69125d25
commit 6b1fc0372b
15 changed files with 103 additions and 4 deletions
@@ -32,6 +32,7 @@ class RemoveNotesCommand implements ChartEditorCommand
state.saveDataDirty = true;
state.noteDisplayDirty = true;
state.notePreviewDirty = true;
state.editButtonsDirty = true;
state.sortChartData();
}
@@ -51,6 +52,7 @@ class RemoveNotesCommand implements ChartEditorCommand
state.saveDataDirty = true;
state.noteDisplayDirty = true;
state.notePreviewDirty = true;
state.editButtonsDirty = true;
state.sortChartData();
}