Fix coarse gridlines being half as wide every 8 bars (#7610)
This commit is contained in:
@@ -140,7 +140,7 @@ void TrackContentWidget::updateBackground()
|
||||
|
||||
// draw coarse grid
|
||||
pmp.setPen( QPen( coarseGridColor(), coarseGridWidth() ) );
|
||||
for (float x = 0; x < w * 2; x += ppb * coarseGridResolution)
|
||||
for (float x = 0; x <= w * 2; x += ppb * coarseGridResolution)
|
||||
{
|
||||
pmp.drawLine( QLineF( x, 0.0, x, h ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user