Skip to content

Commit

Permalink
PianoRoll: fixed typo leading to big white key at wrong position when…
Browse files Browse the repository at this point in the history
… pressed
  • Loading branch information
tobydox committed Jan 14, 2014
1 parent df76921 commit 31e712a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/piano_roll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 31e712a

Please sign in to comment.