Browse Source

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

Closes #166
tags/non-daw-v1.2.0
Jonathan Moore Liles 9 years ago
parent
commit
cf8e553bb4
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      timeline/src/Audio_Region.C

+ 5
- 7
timeline/src/Audio_Region.C View File

@@ -215,8 +215,6 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )

m->item_pathname( picked, sizeof( picked ) );

Logger log( this );

if ( ! strcmp( picked, "Fade/In/Linear" ) )
_fade_in.type = Fade::Linear;
else if ( ! strcmp( picked, "Fade/In/Sigmoid" ) )
@@ -240,12 +238,12 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
Loggable::block_start();
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" ) )
{


Loading…
Cancel
Save