Proper fix to Minimap cluster frame
Mikeprod [06-08-17 - 19:39]
Proper fix to Minimap cluster frame
diff --git a/core.lua b/core.lua
index 2b8598a..958bfde 100644
--- a/core.lua
+++ b/core.lua
@@ -198,10 +198,6 @@ function XIVBar:CreateMainBar()
self:RegisterFrame('bar', CreateFrame("FRAME", "XIV_Databar", UIParent))
self.frames.bgTexture = self.frames.bgTexture or self.frames.bar:CreateTexture(nil, "BACKGROUND")
end
- if IsAddOnLoaded("ElvUI") or IsAddOnLoaded("Tukui") then
- MinimapCluster:ClearAllPoints()
- MinimapCluster:SetAllPoints(Minimap)
- end
end
function XIVBar:HideBarEvent()
@@ -353,7 +349,8 @@ function OffsetUI()
if (not ticketStatusFrameShown and not gmChatStatusFrameShown) then
buffsAreaTopOffset = buffsAreaTopOffset + 13;
end
- if(not MinimapCluster:IsUserPlaced() and MinimapCluster:GetTop()-UIParent:GetHeight() < 1) then
+
+ if(not IsAddOnLoaded("ElvUI") and not MinimapCluster:IsUserPlaced() and MinimapCluster:GetTop()-UIParent:GetHeight() < 1) then
MinimapCluster:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", 0, 0 - buffsAreaTopOffset);
end