focustense / StardewUI

UI/widget library for Stardew modding
MIT License
5 stars 1 forks source link

Wheel events and focus searches behave incorrectly in split-screen/non-default UI scale #32

Closed focustense closed 3 weeks ago

focustense commented 3 weeks ago

Can be reproduced by changing the UI scale to any value other than 100%, running the scrolling item grid example and trying to scroll with mouse wheel while the cursor is near the top of the view; at small UI scale, cursor must be much closer to the center for the event to be picked up.

Has to do with those specific ViewMenu events that rely on cursor coordinates but don't actually supply them in the parameters, e.g. mouse wheels.