Tastudio - account for an unlikely edge case NRE where right button held is true but mouse is outside of the control
This commit is contained in:
parent
2a2ddde277
commit
a460846ff8
|
@ -869,7 +869,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TasView_MouseWheel(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (TasView.RightButtonHeld && TasView.CurrentCell.RowIndex.HasValue)
|
||||
if (TasView.RightButtonHeld && TasView?.CurrentCell.RowIndex.HasValue == true)
|
||||
{
|
||||
_suppressContextMenu = true;
|
||||
int notch = e.Delta / 120;
|
||||
|
|
Loading…
Reference in New Issue