Merge pull request #243 from Flamanis/master

Don't show TaintWarning frame if MiniMapBattlefieldFrame is hidden
This commit is contained in:
Tercio Jose
2021-09-10 23:57:51 -03:00
committed by GitHub
+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