mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Scroll wheel...
This commit is contained in:
parent
850122a304
commit
779f7888bf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user