From ef07f8b0b065a09053ab4ad210be689534484a9e Mon Sep 17 00:00:00 2001 From: feos Date: Sun, 25 Oct 2015 20:48:51 +0300 Subject: [PATCH] tastudio: account for mouse speed when advancing/rewinding. this way you get farther if you right-scroll fast, and still navigate precisely otherwise. --- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index e2e9673c57..b13ab5996f 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -584,6 +584,8 @@ namespace BizHawk.Client.EmuHawk if (TasView.RightButtonHeld && TasView.CurrentCell.RowIndex.HasValue) { _supressContextMenu = true; + int notch = e.Delta / 120; + if (GlobalWin.MainForm.IsSeeking) { if (e.Delta < 0) @@ -600,10 +602,7 @@ namespace BizHawk.Client.EmuHawk } else { - if (e.Delta < 0) - GoToNextFrame(); - else - GoToPreviousFrame(); + GoToFrame(Emulator.Frame - notch); } } }