points are shown in the correct scale

This commit is contained in:
Hannu Haahti
2014-01-17 09:50:30 +02:00
parent a183fb2504
commit 3d0749ad67

View File

@@ -929,7 +929,7 @@ inline void pianoRoll::drawDetuningInfo( QPainter & _p, note * _n, int _x,
const float level = it.value();
int pos_y = (int)( middle_y - level * KEY_LINE_HEIGHT / 10 );
int pos_y = (int)( middle_y - level * KEY_LINE_HEIGHT );
_p.drawLine( pos_x - 1, pos_y, pos_x + 1, pos_y );
_p.drawLine( pos_x, pos_y - 1, pos_x, pos_y + 1 );