Timeline/Audio_Region: Ensure the region splits are logged as a group.

Closes #166
This commit is contained in:
Jonathan Moore Liles 2015-09-08 17:27:51 -07:00
parent 18a299cac7
commit cf8e553bb4
1 changed files with 5 additions and 7 deletions

View File

@ -215,8 +215,6 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
m->item_pathname( picked, sizeof( picked ) ); m->item_pathname( picked, sizeof( picked ) );
Logger log( this );
if ( ! strcmp( picked, "Fade/In/Linear" ) ) if ( ! strcmp( picked, "Fade/In/Linear" ) )
_fade_in.type = Fade::Linear; _fade_in.type = Fade::Linear;
else if ( ! strcmp( picked, "Fade/In/Sigmoid" ) ) else if ( ! strcmp( picked, "Fade/In/Sigmoid" ) )
@ -240,12 +238,12 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
Loggable::block_start(); Loggable::block_start();
split( timeline->x_to_offset( Fl::event_x() ) ); split( timeline->x_to_offset( Fl::event_x() ) );
log_end();
Loggable::block_end();
log_start(); log_end();
Loggable::block_end();
log_start();
} }
else if ( ! strcmp( picked, "/Crop to range" ) ) else if ( ! strcmp( picked, "/Crop to range" ) )
{ {