Skip to content

Commit

Permalink
Merge pull request #4 from Delsin-Yu/mouse-wheel-scroll-event-doubles
Browse files Browse the repository at this point in the history
Fix Mouse Wheel Scroll Event doubles
  • Loading branch information
Delsin-Yu authored Apr 22, 2024
2 parents e403126 + 960bc2d commit a9785b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GDViews.VirtualGridView/Core/VirtualGridViewImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ private void ProcessScrollWheelAndDragInput(InputEvent inputEvent)
switch (inputEvent)
{
case InputEventMouseButton mouseButton:


if(mouseButton.IsReleased()) return;

var mouseButtonButtonIndex = mouseButton.ButtonIndex;

var mapVH = mouseButton.GetModifiersMask().HasFlag(KeyModifierMask.MaskShift);
Expand Down

0 comments on commit a9785b5

Please sign in to comment.