Fix measure line drawing.
This commit is contained in:
parent
558430847c
commit
b5c5a01fd9
|
@ -444,14 +444,16 @@ Timeline::render_tempomap( nframes_t start, nframes_t length, measure_line_callb
|
||||||
++bbt.bar;
|
++bbt.bar;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( f + frames_per_beat >= end )
|
if ( f >= start )
|
||||||
goto done;
|
|
||||||
else if ( f >= start )
|
|
||||||
{
|
{
|
||||||
/* in the zone */
|
/* in the zone */
|
||||||
if ( cb )
|
if ( cb )
|
||||||
cb( f, bbt, arg );
|
cb( f, bbt, arg );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( f + frames_per_beat >= end )
|
||||||
|
goto done;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue