Merge pull request #1294 from Umcaruje/stable-1.1-uifix

Fix misalignment in Song Editor
This commit is contained in:
Vesa V
2014-11-14 01:16:02 +02:00

View File

@@ -893,7 +893,7 @@ void trackContentWidget::updateBackground()
// draw lines
pmp.setPen( QPen( QColor( 0, 0, 0, 160 ), 1 ) );
// horizontal line
pmp.drawLine( 0, 0, w*2, 0 );
pmp.drawLine( 0, h-1, w*2, h-1 );
// vertical lines
for( float x = 0; x < w * 2; x += ppt )