mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Scroll wheel...
This commit is contained in:
parent
850122a304
commit
779f7888bf
@ -332,14 +332,9 @@ 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();
|
|
||||||
|
|
||||||
if (videoPlayerType == typeof(LibMpvDynamic) || videoPlayerType == typeof(QuartsPlayer))
|
|
||||||
{
|
{
|
||||||
delta = -delta;
|
delta = -delta;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
var newPosition = CurrentPosition - delta / 256.0;
|
var newPosition = CurrentPosition - delta / 256.0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user