So's I've created a little cooldown icon for each of the blizzard default arena unitframes. It tracks the cooldown of each player's PVP trinket. By default I have the trinket icon sitting a little bit to the right of the unitframe:
Code:
trinket:SetPoint("LEFT", ArenaEnemyFrame1, "RIGHT", 2, -2)
I've also made it draggable. But after dragging it, the icon loses its relativity to ArenaEnmyFrame1 and is instead relative to UIParent. Is there any way to circumvent this? I have the arena frames draggable too, so I want the trinket icon to follow the arena frames when they're dragged, but also allow users to move the trinket icon itself so it doesn't always have to be to the right of the arena frame.
Thanks.