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;
|
||||
}
|
||||
|
||||
if ( f + frames_per_beat >= end )
|
||||
goto done;
|
||||
else if ( f >= start )
|
||||
if ( f >= start )
|
||||
{
|
||||
/* in the zone */
|
||||
if ( cb )
|
||||
cb( f, bbt, arg );
|
||||
}
|
||||
|
||||
if ( f + frames_per_beat >= end )
|
||||
goto done;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue