mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 00:51:13 +02: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:
parent
526606fc29
commit
26860d9ef0
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user