mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-20 19:30:31 +12:00
[Feature] Swipe scrolling on touchscreen (#275), version 1.2.1.1
This commit is contained in:
parent
09a6b8927f
commit
0511468757
|
@ -1136,7 +1136,7 @@ namespace SystemTrayMenu.Business
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue