mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
We have to actually indicate that we handled MouseWheel window message, fixes #57.
This commit is contained in:
parent
4fbaa4196f
commit
96aaec9dea
@ -212,7 +212,7 @@ namespace OpenTK.Platform.Windows
|
||||
// This is due to inconsistent behavior of the WParam value on 64bit arch, whese
|
||||
// wparam = 0xffffffffff880000 or wparam = 0x00000000ff100000
|
||||
mouse.WheelPrecise += ((long)wParam << 32 >> 48) / 120.0f;
|
||||
break;
|
||||
return IntPtr.Zero;
|
||||
|
||||
case WindowMessage.LBUTTONDOWN:
|
||||
mouse[MouseButton.Left] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user