openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

`OnMouseWheel` not called when mouse is over a UI window #518

Closed ezio416 closed 1 month ago

ezio416 commented 3 months ago

I'm trying to make a slider that responds to the mouse wheel, however when my cursor is over a UI window, OnMouseWheel is never called. Ideally there can be something similar to UI::GetMousePos for the wheel, but it would also be nice to have the callback work in this regard. Maybe this is related to #6?

codecat commented 1 month ago

I have added UI::GetMouseWheelDelta and UI::GetMouseWheelDeltaHor.