Add 'Denormalize' to Audio_Region context menu.
This commit is contained in:
parent
4e1ece8954
commit
90639f65dd
|
@ -268,6 +268,8 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
|
|||
_loop = 0;
|
||||
else if ( ! strcmp( picked, "/Normalize" ) )
|
||||
normalize();
|
||||
else if ( ! strcmp( picked, "/Denormalize" ) )
|
||||
_scale = 1.0;
|
||||
else if ( ! strcmp( picked, "/Range from" ) )
|
||||
timeline->range( start(), length() );
|
||||
else if ( ! strcmp( picked, "/Remove" ) )
|
||||
|
@ -312,6 +314,7 @@ Audio_Region::menu ( void )
|
|||
{ "Loop point to mouse", 'l', 0, 0 },
|
||||
{ "Clear loop point", FL_SHIFT + 'l', 0, 0 },
|
||||
{ "Normalize", 'n', 0, 0 },
|
||||
{ "Denormalize", FL_SHIFT + 'n', 0, 0 },
|
||||
{ "Range from", FL_CTRL + 'r', 0, 0 },
|
||||
{ "Remove", 0, 0, 0 },
|
||||
{ 0 },
|
||||
|
|
Loading…
Reference in New Issue