mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 00:49:33 +02:00
Fixes meter orientation problems as described here:
http://audacity.238276.n2.nabble.com/Problems-with-recording-meter-when-changing-vertical-horizontal-orientation-tt7565895.html
This commit is contained in:
parent
2f177032ed
commit
e752848d5e
@ -472,6 +472,7 @@ void Meter::SetStyle(Meter::Style newStyle)
|
|||||||
if (mStyle == MixerTrackCluster)
|
if (mStyle == MixerTrackCluster)
|
||||||
return;
|
return;
|
||||||
mStyle = newStyle;
|
mStyle = newStyle;
|
||||||
|
gPrefs->Write(wxT("/Meter/MeterStyle"), newStyle == Meter::HorizontalStereo ? wxT("HorizontalStereo") : wxT("VerticalStereo"));
|
||||||
mLayoutValid = false;
|
mLayoutValid = false;
|
||||||
Refresh(true);
|
Refresh(true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user