mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 20:40:50 +00:00
Use region:IsMouseOver instead of the MouseIsOver global
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user