From a54c54097f1d62fb4b2ac67d12ac322dedcf93bb Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Mon, 12 Mar 2018 14:49:45 +0100 Subject: [PATCH] Draw the entire length of a notes pitch bend info (#4233) --- src/gui/editors/PianoRoll.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index c2ab9feff..13b1dd4a7 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -889,10 +889,6 @@ void PianoRoll::drawDetuningInfo( QPainter & _p, const Note * _n, int _x, for( timeMap::ConstIterator it = map.begin(); it != map.end(); ++it ) { int pos_ticks = it.key(); - if( pos_ticks > _n->length() ) - { - break; - } int pos_x = _x + pos_ticks * m_ppt / MidiTime::ticksPerTact(); const float level = it.value();