From 31e712a6756176f31f14ee38af89ddfe038dbcd7 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 14 Jan 2014 23:36:27 +0100 Subject: [PATCH] PianoRoll: fixed typo leading to big white key at wrong position when pressed --- src/gui/piano_roll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/piano_roll.cpp b/src/gui/piano_roll.cpp index 20139ec65..996dacb6d 100644 --- a/src/gui/piano_roll.cpp +++ b/src/gui/piano_roll.cpp @@ -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 {