added menu to editor
This commit is contained in:
@@ -194,8 +194,10 @@ void NoteField::DrawPrimitives()
|
||||
//
|
||||
// Draw measure bars
|
||||
//
|
||||
for( float b=fFirstBeatToDraw; b<=fLastBeatToDraw; b+=1 )
|
||||
DrawMeasureBar( int(b) );
|
||||
int iFirstMeasureToDraw = int(fFirstBeatToDraw)/BEATS_PER_MEASURE;
|
||||
int iLastMeasureToDraw = (int(fLastBeatToDraw)/BEATS_PER_MEASURE)+1;
|
||||
for( i=iFirstMeasureToDraw; i<=fLastBeatToDraw; i++ )
|
||||
DrawMeasureBar( i );
|
||||
|
||||
//
|
||||
// BPM text
|
||||
|
||||
Reference in New Issue
Block a user