feat: click wait-to-active note switches to editing that MIDI item

This commit is contained in:
2026-07-31 10:19:39 +07:00
parent 99a445b789
commit 2bf9f8bcb8
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -6706,6 +6706,9 @@ const PianoRollTabEditor = ({ st, zoom, bpm, viewportWidth, activeTracks, onClos
}
if (ghostHit) {
setFocusItemId(ghostHit.item_id || st.target_id);
if (ghostHit.item_id && ghostHit.item_id !== st.target_id) {
handleSwitchMidiItem(ghostHit.item_id);
}
return;
}
}