OpenGL.Net icon indicating copy to clipboard operation
OpenGL.Net copied to clipboard

Crash with CoreUI

Open TehFlaminTaco opened this issue 4 years ago • 2 comments

Scrolling the mousewheel on a CoreUI NativeWindow causes a System.OverflowExecption, prior to executing the event.

Occurs when running Core 3.0 compiling for win-x64

TehFlaminTaco avatar Feb 08 '20 05:02 TehFlaminTaco

When attempting to hack-patch this, I discovered that the MouseWheelEvent has room for WheelTicks, but never actually implements it.

TehFlaminTaco avatar Feb 08 '20 06:02 TehFlaminTaco

Good catch. The CoreUI sub-project was an experiment about windows with .NET Core, indeed some code may be never executed.

Feel free to PR a patch, I'll integrate it happily.

luca-piccioni avatar Feb 08 '20 17:02 luca-piccioni