Draw the entire length of a notes pitch bend info (#4233)

This commit is contained in:
Oskar Wallgren
2018-03-12 14:49:45 +01:00
committed by GitHub
parent e9b83378f9
commit a54c54097f

View File

@@ -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();