mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fix for mouse wheel scroll direction in video player - thx Peter :)
This commit is contained in:
parent
b5d7e9543c
commit
19bcc57bf9
@ -331,7 +331,13 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
private void ControlMouseWheel(object sender, MouseEventArgs e)
|
||||
{
|
||||
var delta = e.Delta;
|
||||
if (Configuration.Settings.VideoControls.WaveformMouseWheelScrollUpIsForward)
|
||||
{
|
||||
delta = -delta;
|
||||
}
|
||||
|
||||
var newPosition = CurrentPosition - delta / 256.0;
|
||||
|
||||
if (newPosition < 0)
|
||||
{
|
||||
newPosition = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user