I appreciate your help, but I don't seem to be able to make this work
Lua Code:
-- Doesn't need to be done, but saves some (not all) processing
TargetFrame:UnregisterEvent("UNIT_AURA");
FocusFrame:UnregisterEvent("UNIT_AURA");
local function ReleaseAllAuras(self)
for obj in self.auraPools:EnumerateActive() do obj:Hide(); end
self.auraPools:ReleaseAll()-- Cleanup
self.auraRows,self.spellbarAnchor=0,nil;-- Revert to initial values
if self.spellbar then
self.spellbar:ClearAllPoints();
self.spellbar:SetPoint("TOPLEFT",self,"BOTTOMLEFT",43,-100);-- Default anchor on large frame with ToT shown
end-- Update anchor
end
hooksecurefunc(TargetFrame,"UpdateAuras",ReleaseAllAuras);
hooksecurefunc(FocusFrame,"UpdateAuras",ReleaseAllAuras);
I change the coordiantes (e.g. 43,-100), then save the file and /reload ui but the castbars don't move. What am I doing wrong?