points are shown in the correct scale
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user