TAStudio - slight tweak to right-click + mousewheel

This commit is contained in:
adelikat 2014-07-17 23:55:10 +00:00
parent 5506f91e27
commit 8d0d5ef98d
1 changed files with 3 additions and 3 deletions

View File

@ -246,15 +246,15 @@ namespace BizHawk.Client.EmuHawk
private void TasView_MouseWheel(object sender, MouseEventArgs e)
{
if (_rightMouseHeld)
if (_rightMouseHeld && TasView.PointedCell.Row.HasValue)
{
if (e.Delta < 0)
{
GoToFrame(Global.Emulator.Frame);
GoToFrame(Global.Emulator.Frame + 1);
}
else
{
GoToFrame(Global.Emulator.Frame - 2);
GoToFrame(Global.Emulator.Frame - 1);
}
}
}