More scroll wheel direction

This commit is contained in:
Nikolaj Olsson 2023-12-06 17:33:13 +01:00
parent 19bcc57bf9
commit 850122a304

View File

@ -333,7 +333,12 @@ namespace Nikse.SubtitleEdit.Controls
var delta = e.Delta;
if (Configuration.Settings.VideoControls.WaveformMouseWheelScrollUpIsForward)
{
delta = -delta;
var videoPlayerType = _videoPlayer.GetType();
if (videoPlayerType == typeof(LibMpvDynamic) || videoPlayerType == typeof(QuartsPlayer))
{
delta = -delta;
}
}
var newPosition = CurrentPosition - delta / 256.0;