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
@@ -42,6 +42,7 @@ class AddNotesCommand implements ChartEditorCommand
state.saveDataDirty = true;
state.noteDisplayDirty = true;
state.notePreviewDirty = true;
state.editButtonsDirty = true;
state.sortChartData();
}
@@ -56,6 +57,7 @@ class AddNotesCommand implements ChartEditorCommand
state.saveDataDirty = true;
state.noteDisplayDirty = true;
state.notePreviewDirty = true;
state.editButtonsDirty = true;
state.sortChartData();
}