Lua Code:
DurabilityFrame:ClearAllPoints()
DurabilityFrame.ignoreFramePositionManager = true
DurabilityFrame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
I've tried many different things, no one of them works........
It seems to me that all the elements wich are usually anchored to the minimap cluster frame are something special, but since now i dont know what is special and how i can change it, i can anchor it to other frame and it sticks to this frame then, but i can move it only up an down not left not right.
the last solution would be creating an empty frame and sticking it to that frame but in my opinion there must be an easier way then creating 5-10 extra frames for each elemrnt i want to move.
Lua Code:
local event = CreateFrame('Frame')
local x = 0
local y = 0
local move = function(self)
DurabilityFrame:ClearAllPoints()
DurabilityFrame:SetPoint("CENTER", UIParent, 'CENTER', x, y)
end
event.PLAYER_LOGIN = function()
hooksecurefunc('UIParent_ManageFramePositions', move)
end
event:SetScript("OnEvent", function(self, event, ...)
self[event](self, event, ...)
end)
event:RegisterEvent("PLAYER_LOGIN")
This one does work sometimes, but more often i doesnt work, for about 5 seconds then it moves back to it usual position....
got it out of some other post, even with the IgnoreFramePosition thing....