From 0edeb7a52b6d9332612159fb7473f8bff0de4e9b Mon Sep 17 00:00:00 2001 From: Mikeprod Date: Thu, 8 Jun 2017 21:39:25 +0200 Subject: [PATCH] Proper fix to Minimap cluster frame --- core.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 1.7.9.5