Browse Source

Fix measure line drawing.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
b5c5a01fd9
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      Timeline/Timeline.C

+ 5
- 3
Timeline/Timeline.C View File

@@ -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…
Cancel
Save