17 - Yata TotemBars repositioning on load
** What steps will reproduce the problem?
1. On reloading ui, login, talent spec, leveling, the location of the TotemBar changes. I need to unlock and manually place it back each time this occurs. This may or may not be affecting other objects like the Timer bars (I do not have them enabled).
2. This may only occur if the scale is something other than 1 (mine is 0.75)
** What is the expected output? What do you see instead?
Once locked, I would expect the objects to stay in place until they were unlocked and moved manually.
** What version of the product are you using?
r63
** Do you have an error log of what happened?
No
** Please provide any additional information below.
This seems to be related to the scale. The positions on load are frequently modified in SaveBarConfig/LoadBarConfig based on scale similar to below:
scale = self.TotemBarGrip:GetEffectiveScale()
x = self.db.profile.BarPosition.x * scale
y = self.db.profile.BarPosition.y * scale
I modified my TotemBar.lua to remove the scale multiplication/division in these types of events and my TotemBar now stays in place and does not appear to have introduced any negative impacts. As it was a quick fix and I'm unware of other potential impacts I was only providing it as reference.
| User | When | Change |
|---|---|---|
| blehamiga | Wed, 22 Apr 2009 13:08:16 | Create |
- 2 comments
- 2 comments
- #2
blehamiga Fri, 24 Apr 2009 17:40:43The same issue does indeed affect the timer bars.
- #1
xska Thu, 23 Apr 2009 22:23:58I committed a change as you described, seems to fix it for me as well (with scale turned off).