Fixed initial positions for all bars

This commit is contained in:
Hendrik Leppkes
2009-02-21 15:53:41 +01:00
parent 204ac6a671
commit 044899f525
7 changed files with 16 additions and 14 deletions
+6 -4
View File
@@ -240,10 +240,12 @@ function Bar:UpgradeConfig()
self:SetScale(pos.scale)
local x, y, s = pos.x, pos.y, self:GetEffectiveScale()
local point, relPoint = pos.point, pos.relPoint
x, y = x/s, y/s
self:ClearSetPoint(point, UIParent, relPoint, x, y)
self:SavePosition()
pos.relPoint = nil
if x and y and point and relPoint then
x, y = x/s, y/s
self:ClearSetPoint(point, UIParent, relPoint, x, y)
self:SavePosition()
pos.relPoint = nil
end
end
end
if version < 3 then