Scroll wheel...

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

View File

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