Skip to content

Commit 7de9649

Browse files
committed
Fix quantization of pasted notes
Fixes a regression caused by #4058
1 parent c3438a1 commit 7de9649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/editors/PianoRoll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3757,7 +3757,7 @@ void PianoRoll::pasteNotes()
37573757
// create the note
37583758
Note cur_note;
37593759
cur_note.restoreState( list.item( i ).toElement() );
3760-
cur_note.setPos( cur_note.pos() + m_timeLine->pos() );
3760+
cur_note.setPos( cur_note.pos() + Note::quantized( m_timeLine->pos(), quantization() ) );
37613761

37623762
// select it
37633763
cur_note.setSelected( true );

0 commit comments

Comments
 (0)