tastudio: fix _columnDown being drawn without moving

used to happen when you click the column header with rows selected
This commit is contained in:
feos 2017-05-29 20:37:27 +03:00
parent c1ee1d9505
commit 6bc542cc56
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace BizHawk.Client.EmuHawk
private void DrawColumnDrag(PaintEventArgs e) 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 x1 = _currentX.Value - (_columnDown.Width.Value / 2);
int y1 = _currentY.Value - (CellHeight / 2); int y1 = _currentY.Value - (CellHeight / 2);