diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 6b198c601..12bba36b4 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4924,7 +4924,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null) { // Control click to select/deselect an individual note. - if (isNoteSelected(highlightedNote.noteData)) + if (isNoteSelected(highlightedHoldNote.noteData)) { performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], [])); } @@ -5216,7 +5216,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState } else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null) { - if (isNoteSelected(highlightedNote.noteData)) + if (isNoteSelected(highlightedHoldNote.noteData)) { performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], [])); }