mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 15:39:27 +02:00
Update Fade-Ends Macro, and RelativeTo enums.
- FromEnd boolean parameter is now replaced by RelativeTo enum.
This commit is contained in:
parent
51011fb38f
commit
d7406b3b0f
@ -128,7 +128,7 @@ void MacroCommands::RestoreMacro(const wxString & name)
|
||||
} else if (name == GetCustomTranslation( FadeEnds ) ){
|
||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\"") );
|
||||
AddToMacro( wxT("FadeIn") );
|
||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" FromEnd=\"1\"") );
|
||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" RelativeTo=\"Project End\"") );
|
||||
AddToMacro( wxT("FadeOut") );
|
||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"0\"") );
|
||||
}
|
||||
|
@ -46,12 +46,12 @@ explicitly code all three.
|
||||
const int nRelativeTos =6;
|
||||
static const wxString kRelativeTo[nRelativeTos] =
|
||||
{
|
||||
XO("ProjectStart"),
|
||||
XO("Project Start"),
|
||||
XO("Project"),
|
||||
XO("ProjectEnd"),
|
||||
XO("SelectionStart"),
|
||||
XO("Project End"),
|
||||
XO("Selection Start"),
|
||||
XO("Selection"),
|
||||
XO("SelectionEnd")
|
||||
XO("Selection End")
|
||||
};
|
||||
|
||||
bool SelectTimeCommand::DefineParams( ShuttleParams & S ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user