Skip to content

Commit 1bd535c

Browse files
author
feos
committed
tastudio: don't trigger right button up events if left button is still held down
1 parent 7529570 commit 1bd535c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,8 @@ private void ClearLeftMouseStates()
762762

763763
private void TasView_MouseUp(object sender, MouseEventArgs e)
764764
{
765-
if (e.Button == MouseButtons.Right && !TasView.IsPointingAtColumnHeader && !_supressContextMenu && TasView.SelectedRows.Any())
765+
if (e.Button == MouseButtons.Right && !TasView.IsPointingAtColumnHeader &&
766+
!_supressContextMenu && TasView.SelectedRows.Any() && !_leftButtonHeld)
766767
{
767768
if (Global.MovieSession.Movie.FrameCount < TasView.SelectedRows.Max())
768769
{

0 commit comments

Comments
 (0)