1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Where if and else branches were the same, simplify...

... None of the examples was really a bug.

ExpandingToolBar.cpp is unused in fact.
This commit is contained in:
Paul Licameli
2017-10-11 22:12:23 -04:00
parent 8529350707
commit 7c73011629
4 changed files with 14 additions and 14 deletions

View File

@@ -391,10 +391,10 @@ LWSlider::LWSlider(wxWindow *parent,
break;
case DB_SLIDER:
minValue = -36.0f;
if (orientation == wxHORIZONTAL)
//if (orientation == wxHORIZONTAL)
maxValue = 36.0f;
else
maxValue = 36.0f; // for MixerBoard //v Previously was 6dB for MixerBoard, but identical for now.
//else
//maxValue = 36.0f; // for MixerBoard //v Previously was 6dB for MixerBoard, but identical for now.
stepValue = 1.0f;
speed = 0.5;
break;