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
@@ -180,7 +180,7 @@ pfUI:RegisterModule("map", function ()
|
||||
my = (( my + height / 2 ) - ( y / scale )) / height * 100
|
||||
end
|
||||
|
||||
if mx and my and MouseIsOver(WorldMapButton) then
|
||||
if mx and my and WorldMapButton:IsMouseOver() then
|
||||
WorldMapButton.coords.text:SetFormattedText('%.1f / %.1f', mx, my)
|
||||
else
|
||||
WorldMapButton.coords.text:SetText("")
|
||||
|
||||
Reference in New Issue
Block a user