1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 14:50:06 +02:00

Vertical ruler: interchange shift- and shift-ctrl-mousehweel for dB view, and...

... for other views, make sure shift-ctrl-mousewheel does nothing.
This commit is contained in:
Paul Licameli 2015-09-01 17:23:11 -04:00
parent 8b990f78c5
commit 229d15c8d0

View File

@ -6258,7 +6258,7 @@ void TrackPanel::HandleWheelRotationInVRuler
settings.NextHigherDBRange();
}
if (event.CmdDown()) {
if (!event.CmdDown()) {
// extra-special case that varies the db limit without changing
// magnification
const float extreme = (LINEAR_TO_DB(2) + newdBRange) / newdBRange;
@ -6272,7 +6272,7 @@ void TrackPanel::HandleWheelRotationInVRuler
}
}
}
else if (event.CmdDown()) {
else if (event.CmdDown() && !event.ShiftDown()) {
HandleWaveTrackVZoom(
mTracks, rect, event.m_y, event.m_y,
wt, false, (event.m_wheelRotation < 0),