mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 23:00: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:
parent
8b990f78c5
commit
229d15c8d0
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user