Skip to content

Commit

Permalink
Fix quantization of pasted notes
Browse files Browse the repository at this point in the history
Fixes a regression caused by #4058
  • Loading branch information
tresf committed Dec 22, 2017
1 parent c3438a1 commit 7de9649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3757,7 +3757,7 @@ void PianoRoll::pasteNotes()
// create the note
Note cur_note;
cur_note.restoreState( list.item( i ).toElement() );
cur_note.setPos( cur_note.pos() + m_timeLine->pos() );
cur_note.setPos( cur_note.pos() + Note::quantized( m_timeLine->pos(), quantization() ) );

// select it
cur_note.setSelected( true );
Expand Down

0 comments on commit 7de9649

Please sign in to comment.