mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-31 17:08:45 +01:00
Mixer toolbar: change accessibility names of sliders
The third argument of ASlider constructors already provided suitable accessibility names. So removed the unnecessary calls to SetName which set unsuitable names.
This commit is contained in:
@@ -80,7 +80,6 @@ void MixerToolBar::Populate()
|
||||
mInputSlider = safenew ASlider(this, wxID_ANY, _("Recording Volume"),
|
||||
wxDefaultPosition, wxSize(130, 25),
|
||||
ASlider::Options{}.Line( 0.1f ).Page( 2.0f ));
|
||||
mInputSlider->SetName(_("Slider Recording"));
|
||||
Add(mInputSlider, 0, wxALIGN_CENTER);
|
||||
|
||||
// Playback icon and slider
|
||||
@@ -90,7 +89,6 @@ void MixerToolBar::Populate()
|
||||
mOutputSlider = safenew ASlider(this, wxID_ANY, _("Playback Volume"),
|
||||
wxDefaultPosition, wxSize(130, 25),
|
||||
ASlider::Options{}.Line( 0.1f ).Page( 2.0f ));
|
||||
mOutputSlider->SetName(_("Slider Playback"));
|
||||
Add(mOutputSlider, 0, wxALIGN_CENTER);
|
||||
|
||||
// this bit taken from SelectionBar::Populate()
|
||||
|
||||
Reference in New Issue
Block a user