1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00

Restore correct resizing of the time ruler for the scrub bar button

This was broken at ae14cb0dbccf9587b7a13f5ddc49c2b27acfec1e
This commit is contained in:
Paul Licameli 2016-07-12 15:26:40 -04:00
parent b3c7f37aba
commit d91f825424

View File

@ -2782,7 +2782,7 @@ void AdornedRulerPanel::OnToggleScrubBar(/*wxCommandEvent&*/)
wxSize size { GetSize().GetWidth(), GetRulerHeight(mShowScrubbing) };
SetSize(size);
SetMinSize(size);
PostSizeEventToParent();
GetParent()->PostSizeEventToParent();
}
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))