feat: add scale highlighting to Piano Roll grid

This commit is contained in:
Xiaohan-Tian
2025-12-09 23:50:03 -08:00
parent 98ed8a60ce
commit 9e0c0cc1f5
8 changed files with 168 additions and 24 deletions
@@ -33,7 +33,7 @@ const PianoRollToolbar: React.FC<PianoRollToolbarProps> = ({
<div className="toolbar-left">
{/* Left section with mode dropdown */}
<KGDropdown
options={KGPianoRollState.MODE_OPTIONS}
options={KGPianoRollState.MODE_DATA.map(m => ({ label: m.name, value: m.id }))}
value={selectedMode}
onChange={(value) => onModeChange(value)}
label="Mode"