Custom note kind field fix

Now gets hidden if the note selected isn't a custom one
This commit is contained in:
Lasercar
2025-12-10 00:43:12 -05:00
committed by Hundrec
parent dff2a1e487
commit d3c16b45c6
2 changed files with 9 additions and 1 deletions
@@ -139,6 +139,14 @@ class ChartEditorNoteDataToolbox extends ChartEditorBaseToolbox
super.refresh();
toolboxNotesNoteKind.value = ChartEditorDropdowns.lookupNoteKind(chartEditorState.noteKindToPlace);
if (toolboxNotesNoteKind.value.id == '~CUSTOM~' && chartEditorState.noteKindToPlace != null)
{
showCustom();
}
else
{
hideCustom();
}
toolboxNotesCustomKind.value = chartEditorState.noteKindToPlace;
createNoteKindParams(chartEditorState.noteKindToPlace);