luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash with CoreUI

TehFlaminTaco opened this issue · 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

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

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.