I have an aura group I'm trying to anchor to either the default raid frames or the default party frames. I'm using a custom anchor as such:
function()
if CompactRaidFrameContainer:IsShown() then
return CompactRaidFrameContainer
elseif CompactPartyFrameMember1:IsShown() then
return CompactPartyFrameMember1
end
end
This works the first time I join a group or party, but if I switch to the other later (or e.g. the group converts into a party), the anchor doesn't update again without reloading the aura. Is the custom anchor function only called once at Init? Is there a way to fix this?