mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Update vertical ruler width correctly when applying view settings changes
This commit is contained in:
@@ -472,7 +472,9 @@ void SpectrumPrefs::OnApply(wxCommandEvent &)
|
|||||||
{
|
{
|
||||||
if (Validate()) {
|
if (Validate()) {
|
||||||
Apply();
|
Apply();
|
||||||
::GetActiveProject()->GetTrackPanel()->Refresh(false);
|
TrackPanel *const tp = ::GetActiveProject()->GetTrackPanel();
|
||||||
|
tp->UpdateVRulers();
|
||||||
|
tp->Refresh(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -223,7 +223,9 @@ void WaveformPrefs::OnApply(wxCommandEvent &)
|
|||||||
{
|
{
|
||||||
if (Validate()) {
|
if (Validate()) {
|
||||||
Apply();
|
Apply();
|
||||||
::GetActiveProject()->GetTrackPanel()->Refresh(false);
|
TrackPanel *const tp = ::GetActiveProject()->GetTrackPanel();
|
||||||
|
tp->UpdateVRulers();
|
||||||
|
tp->Refresh(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user