WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Rte at 4/5/2006 6:24:06 AM PDT
Subject: Slouken: Anchor location bug.
   Well, not sure if it is a bug or not, but here's whats happening and it is quite anoying:
Cursor location is (at least I think so) obtained from OS with global coordinates, but is not translated to relative coordinates to the UIParent, thus the following issue:
Make a frame that is positioned to the leftmost part of UIParent and have it show tooltip anchored at the cursor location. Now, if you simply load that addon it works perfectly. Now change UIParent to be 100 pixels shorter and start 100 pixels to the right from left most corner (UIParent:ClearAllPoints();UIParent:SetPoint("TOPLEFT",100,0);UIParent:SetPoint("BOTTOMRIGHT",0,0);UIParent:SetUserPlaced(1); -- now, that will give an error saying "UIParent cannot be user placed, or whatnot, but will still agjust UIParent's size) now mouse over the same frame, it should be about 100 pixels to the right now. What you will see is Tooltip appearing about 100 pixels to the right of location of the mouse cursor.
What I think needs to be done is when calculating anchor for frame on mouse cursor position of UIParent needs to be taken into acount.

Cheers

[ post edited by Rte ]


http://geocities.com/mods_rte/
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=354399&p=#post354399
 
Poster: slouken at 4/6/2006 3:02:44 PM PDT
Subject: Re: Slouken: Anchor location bug.
   This is fixed for 1.10.2, thanks!

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=354399&p=#post355559

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?