Fix measure line drawing.

This commit is contained in:
Jonathan Moore Liles 2008-05-14 14:20:11 -05:00
parent 558430847c
commit b5c5a01fd9
1 changed files with 5 additions and 3 deletions

View File

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