From 977678888b6319163e5fcad9f952969915802c2b Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Wed, 22 Nov 2017 04:38:36 +0100 Subject: [PATCH] Fixup - for unquantized note length --- src/gui/editors/PianoRoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index d2c0791f624..ea10681a31e 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -2566,7 +2566,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( quantization(), newLength ); + newLength = qMax( alt ? 1 : quantization(), newLength ); note->setLength( MidiTime(newLength) ); m_lenOfNewNotes = note->length();