tastudio: account for mouse speed when advancing/rewinding.
this way you get farther if you right-scroll fast, and still navigate precisely otherwise.
This commit is contained in:
parent
a4b3a57af2
commit
ef07f8b0b0
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue