Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/gui/editors/PianoRoll.cpp
Co-authored-by: Spekular <[email protected]>
  • Loading branch information
zonkmachine and Spekular authored May 11, 2020
commit 54e4bc53cb75f9516aaed4c1e76c48eef817a53c
2 changes: 1 addition & 1 deletion src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,7 @@ void PianoRoll::dragNotes( int x, int y, bool alt, bool shift, bool ctrl )
if (note->selected())
{
int newLength = note->oldLength() + off_ticks;
newLength = qMax(alt ? 1 : quantization(), newLength);
if (newLength <= 0) { newLength = alt ? 1 : quantization(); }
note->setLength(MidiTime(newLength));

m_lenOfNewNotes = note->length();
Expand Down