Skip to content

Commit

Permalink
fix(skiawpf): mouse wheel was too fast
Browse files Browse the repository at this point in the history
  • Loading branch information
carldebilly committed Aug 18, 2020
1 parent d2b0b80 commit f08631f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private IntPtr OnWmMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam, r
IsHorizontalMouseWheel = msg == WM_MOUSEHWHEEL,
IsPrimary = true,
IsInRange = true,
MouseWheelDelta = -((int)wparam >> 16) / 10
MouseWheelDelta = -((int)wparam >> 16) / 20
};
var modifiers = VirtualKeyModifiers.None;
if (keys.HasFlag(MouseModifierKeys.MK_SHIFT))
Expand Down

0 comments on commit f08631f

Please sign in to comment.