SpellReminder

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. :)

User When Change
oridan Sat, 09 May 2009 08:00:23 Changed status from New to Fixed
tlundse Tue, 17 Feb 2009 20:04:10 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of oridan oridan Sat, 09 May 2009 08:00:39

    implimented for next release, thanks

  • 1 comment

Facts

Last updated on
09 May 2009
Reported on
17 Feb 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.

Reported by

Possible assignees