Fix for mouse wheel scroll direction in video player - thx Peter :)

This commit is contained in:
Nikolaj Olsson 2023-12-06 17:07:35 +01:00
parent b5d7e9543c
commit 19bcc57bf9

View File

@ -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;