Michael-48 / Iris

Iris is an Immediate mode GUI Library for Roblox, Based on Dear ImGui
https://michael-48.github.io/Iris/
MIT License
162 stars 26 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.