PianoRoll: fixed typo leading to big white key at wrong position when pressed

This commit is contained in:
Tobias Doerffel
2014-01-14 23:36:27 +01:00
parent df76921226
commit 31e712a675

View File

@@ -2787,7 +2787,7 @@ void pianoRoll::paintEvent( QPaintEvent * _pe )
// draw a big one while checking if it is pressed or not
if(m_pattern->instrumentTrack()->pianoModel()->isKeyPressed( key ) )
{
p.drawPixmap( PIANO_X, y - WHITE_KEY_SMALL_HEIGHT, *s_whiteKeyBigPressedPm );
p.drawPixmap( PIANO_X, y - WHITE_KEY_BIG_HEIGHT, *s_whiteKeyBigPressedPm );
}
else
{