1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 00:20:06 +02:00

Show correct context menu for scrubbing phase 2x

This commit is contained in:
Paul Licameli 2016-05-06 20:46:12 -04:00
parent 38eab236b6
commit 2d925317b0

View File

@ -2856,9 +2856,7 @@ void AdornedRulerPanel::OnKillFocus(wxFocusEvent & WXUNUSED(event))
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
{
auto rect = GetRect();
wxPoint position(rect.GetLeft() + 1, rect.GetBottom() + 1);
ShowMenu(position);
ShowButtonMenu(mTabState.mButton, nullptr);
}
void AdornedRulerPanel::OnCaptureLost(wxMouseCaptureLostEvent & WXUNUSED(evt))