Scroll wheel...

This commit is contained in:
Nikolaj Olsson 2023-12-06 17:40:37 +01:00
parent 850122a304
commit 779f7888bf

View File

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