mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Audio visualizer: zoom with control key + scroll wheel.
This commit is contained in:
parent
e44aea6609
commit
41df7363c8
@ -1708,6 +1708,16 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
if (_wavePeaks == null)
|
||||
return;
|
||||
|
||||
if (ModifierKeys == Keys.Control)
|
||||
{
|
||||
if (e.Delta > 0)
|
||||
ZoomIn();
|
||||
else
|
||||
ZoomOut();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
int delta = e.Delta;
|
||||
if (!MouseWheelScrollUpIsForward)
|
||||
delta = delta * -1;
|
||||
|
Loading…
Reference in New Issue
Block a user