mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-02 23:23:53 +01:00
Show correct context menu for scrubbing phase 2x
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user