Fix coarse gridlines being half as wide every 8 bars (#7610)

This commit is contained in:
regulus79
2024-11-30 21:49:00 -05:00
committed by GitHub
parent 3562bbed3c
commit f579750608

View File

@@ -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 ) );
}