Don't show TaintWarning frame if MiniMapBattlefieldFrame is hidden

This commit is contained in:
Flamanis
2021-09-10 21:55:57 -05:00
committed by GitHub
parent 5b3293746a
commit c698139e79
+2 -2
View File
@@ -562,10 +562,10 @@ function Details:StartMeUp() --I'll never stop!
end
end
taintWarning:Show()
taintWarning:SetPoint ("topleft", StaticPopup1, "bottomleft", 0, -10)
if (MiniMapBattlefieldFrame:IsShown())then
taintWarning:Show()
taintWarning:SetPoint ("topleft", StaticPopup1, "bottomleft", 0, -10)
if (not originalPosition) then
local a = {}
for i = 1, MiniMapBattlefieldFrame:GetNumPoints() do