diff --git a/src/components/piano-roll/PianoRollContent.tsx b/src/components/piano-roll/PianoRollContent.tsx index c2a1d9a..3bea46c 100644 --- a/src/components/piano-roll/PianoRollContent.tsx +++ b/src/components/piano-roll/PianoRollContent.tsx @@ -249,12 +249,13 @@ const PianoRollContent: React.FC = ({ if (!isRecording || !activeRegion || recordingNotes.length === 0) return null; const beatWidth = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--region-grid-beat-width')) || 40; const noteHeight = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--region-piano-key-height')) || 20; + const regionStartBeat = activeRegion.getStartFromBeat(); return recordingNotes.map((note, index) => (