mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
minimap: only update while the map is closed
This commit is contained in:
+4
-1
@@ -171,8 +171,11 @@ pfUI:RegisterModule("minimap", "vanilla:tbc", function ()
|
||||
pfUI.minimapZone.text:SetJustifyH("CENTER")
|
||||
|
||||
pfUI.minimapZone:SetScript("OnEvent", function()
|
||||
if C.appearance.minimap.coordstext ~= "off" then
|
||||
if not WorldMapFrame:IsShown() then
|
||||
SetMapToCurrentZone()
|
||||
end
|
||||
|
||||
if C.appearance.minimap.coordstext ~= "off" then
|
||||
local pvp, _, arena = GetZonePVPInfo()
|
||||
if arena then
|
||||
pfUI.minimapZone.text:SetTextColor(1.0, 0.1, 0.1)
|
||||
|
||||
Reference in New Issue
Block a user