Skip to content

Commit

Permalink
[Feature] Swipe scrolling on touchscreen (#275), version 1.2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofknecht committed Jan 8, 2022
1 parent 09a6b89 commit 0511468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Business/Menus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ private void Dgv_MouseClick(object sender, MouseEventArgs e)
DataGridView dgv = (DataGridView)sender;
DataGridView.HitTestInfo hitTestInfo;
hitTestInfo = dgv.HitTest(e.X, e.Y);
if (!isDraggingSwipeScrolling &&
if (!isDragSwipeScrolled &&
hitTestInfo.RowIndex == lastMouseDownRowIndex &&
hitTestInfo.RowIndex > -1 &&
hitTestInfo.RowIndex < dgv.Rows.Count)
Expand Down

0 comments on commit 0511468

Please sign in to comment.