Disable forwarding the scroll event (#10513)

This commit is contained in:
Ivan Stošić 2021-03-31 14:54:32 +02:00 committed by GitHub
parent 667e38fea0
commit 9cf3b9f91d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,7 @@ namespace ColorPicker.Mouse
{
MouseDevice mouseDev = InputManager.Current.PrimaryMouseDevice;
MouseWheel.Invoke(null, new MouseWheelEventArgs(mouseDev, Environment.TickCount, (int)mouseHookStruct.mouseData >> 16));
return new IntPtr(-1);
}
}
}