6 - When saving positions of the bars, also include what the positon is relative to.
In SpellReminder:SaveAnchorPositions() the "relativeTo" value is discarded from the GetPoint() call.
This causes a slight problem for me, since I want to have my frames anchored to each other and want to be able to move them with pixel perfect accuracy. I do this from a small addon:
--
VisualHealBar:ClearAllPoints()
VisualHealBar:SetPoint("BOTTOM", "WorldFrame", "BOTTOM", -32, 30)
--
QuartzCastBar:ClearAllPoints()
QuartzCastBar:SetPoint("BOTTOMLEFT", "VisualHealBar", "TOPLEFT", 0, -3)
--
ReminderFrame_2:ClearAllPoints()
ReminderFrame_2:SetPoint("BOTTOMLEFT", "QuartzCastBar", "TOPLEFT", -20, 0)
SpellReminder:SaveAnchorPositions()
--
The problem now is that SpellReminder saves this position and then later restores it, it puts the window at -20,0 relative to UIParent instead of to QuartzCastBar.
If relativeTo was saved in self.db.profile.bargroups[i].position.* like the other values (x, y, anchor and point) and then used, this would solve my problem. :)
- 1 comment
- 1 comment
- #1
oridan Sat, 09 May 2009 08:00:39implimented for next release, thanks