mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-26 00:58:37 +02:00
Restore correct resizing of the time ruler for the scrub bar button
This was broken at ae14cb0dbccf9587b7a13f5ddc49c2b27acfec1e
This commit is contained in:
parent
b3c7f37aba
commit
d91f825424
@ -2782,7 +2782,7 @@ void AdornedRulerPanel::OnToggleScrubBar(/*wxCommandEvent&*/)
|
|||||||
wxSize size { GetSize().GetWidth(), GetRulerHeight(mShowScrubbing) };
|
wxSize size { GetSize().GetWidth(), GetRulerHeight(mShowScrubbing) };
|
||||||
SetSize(size);
|
SetSize(size);
|
||||||
SetMinSize(size);
|
SetMinSize(size);
|
||||||
PostSizeEventToParent();
|
GetParent()->PostSizeEventToParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user