Minor cleanup.
This commit is contained in:
parent
148b313b31
commit
25842b89a7
|
@ -484,6 +484,7 @@ event_list::insert_time ( tick_t start, tick_t l )
|
|||
continue;
|
||||
|
||||
if ( ts >= start )
|
||||
{
|
||||
if ( e->is_note_on() )
|
||||
{
|
||||
/* only notes ENTIRELY WITHIN the range will be moved */
|
||||
|
@ -492,6 +493,7 @@ event_list::insert_time ( tick_t start, tick_t l )
|
|||
}
|
||||
else
|
||||
e->timestamp( e->timestamp() + l );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -464,10 +464,12 @@ Grid::toggle_select ( int x, int y )
|
|||
event *e = _event( x, y, true );
|
||||
|
||||
if ( e )
|
||||
{
|
||||
if ( e->selected() )
|
||||
e->deselect();
|
||||
else
|
||||
e->select();
|
||||
}
|
||||
|
||||
unlock();
|
||||
}
|
||||
|
|
|
@ -180,10 +180,12 @@ main ( int argc, char **argv )
|
|||
ASSERTION( "Could not initialize MIDI system! (is Jack running and with MIDI ports enabled?)" );
|
||||
|
||||
if ( ! transport.valid )
|
||||
{
|
||||
if ( transport.master )
|
||||
ASSERTION( "The version of JACK you are using does not appear to be capable of passing BBT positional information." );
|
||||
else
|
||||
ASSERTION( "Either the version of JACK you are using does pass BBT information, or the current timebase master does not provide it." );
|
||||
}
|
||||
|
||||
song.dirty( false );
|
||||
|
||||
|
|
Loading…
Reference in New Issue