Use region:IsMouseOver instead of the MouseIsOver global

This commit is contained in:
Brues
2026-10-22 21:37:50 -05:00
parent b9f473c049
commit d881d73246
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ do -- dropdown
end
local function MenuOnUpdate()
if not MouseIsOver(this, 100, -100, -100, 100) then
if not this:IsMouseOver(100, -100, -100, 100) then
this.button:HideMenu()
end
end