1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 22:28:57 +02:00

Disable the popup menu for vertical rulers

This commit is contained in:
Paul Licameli 2015-08-11 10:29:09 -04:00
parent 5dd4cac5bd
commit 8c0949315b

View File

@ -4581,11 +4581,13 @@ void TrackPanel::HandleVZoomButtonUp( wxMouseEvent & event )
if (mCapturedTrack->GetKind() != Track::Wave)
return;
/*
if (event.RightUp() &&
!(event.ShiftDown() || event.CmdDown())) {
OnVRulerMenu(mCapturedTrack, &event);
return;
}
*/
HandleWaveTrackVZoom(static_cast<WaveTrack*>(mCapturedTrack),
event.ShiftDown(), event.RightUp());