SirMallard / Iris

Iris is an Immediate-Mode GUI Library for Roblox for creating debug and visualisation UI and tools, based on Dear ImGui,
https://sirmallard.github.io/Iris/
MIT License
164 stars 25 forks source link

widgets.getMouseLocation Returning Incorrect Values #54

Closed TheyCallMeRyan closed 3 months ago

TheyCallMeRyan commented 3 months ago

It looks like GuiService doesn't immediately return the correct value for GetGuiInset. Because of this, the MouseLocation is always wrong for the isPosInsideRect checks in Menu / Window / Combo if you loaded too soon. In my case this leads to Menus never functioning as I consistently load too early in studio.

image image

SirMallard commented 3 months ago

Should be merged now, thanks for finding and fixing this.