mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30:06 +02:00
Show correct context menu for scrubbing phase 2x
This commit is contained in:
commit
e59617f176
@ -2856,9 +2856,7 @@ void AdornedRulerPanel::OnKillFocus(wxFocusEvent & WXUNUSED(event))
|
|||||||
|
|
||||||
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
void AdornedRulerPanel::OnContextMenu(wxContextMenuEvent & WXUNUSED(event))
|
||||||
{
|
{
|
||||||
auto rect = GetRect();
|
ShowButtonMenu(mTabState.mButton, nullptr);
|
||||||
wxPoint position(rect.GetLeft() + 1, rect.GetBottom() + 1);
|
|
||||||
ShowMenu(position);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdornedRulerPanel::OnCaptureLost(wxMouseCaptureLostEvent & WXUNUSED(evt))
|
void AdornedRulerPanel::OnCaptureLost(wxMouseCaptureLostEvent & WXUNUSED(evt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user