From 6bc542cc5688dd9a60d30c55a0a80d95849b3bc7 Mon Sep 17 00:00:00 2001 From: feos Date: Mon, 29 May 2017 20:37:27 +0300 Subject: [PATCH] tastudio: fix _columnDown being drawn without moving used to happen when you click the column header with rows selected --- BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs b/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs index 60e49c690b..316afb409c 100644 --- a/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs +++ b/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs @@ -51,7 +51,7 @@ namespace BizHawk.Client.EmuHawk private void DrawColumnDrag(PaintEventArgs e) { - if (_columnDown != null && _currentX.HasValue && _currentY.HasValue && IsHoveringOnColumnCell) + if (_columnDown != null && _columnDownMoved && _currentX.HasValue && _currentY.HasValue && IsHoveringOnColumnCell) { int x1 = _currentX.Value - (_columnDown.Width.Value / 2); int y1 = _currentY.Value - (CellHeight / 2);