Fix for channeling lag indicator positioning

This commit is contained in:
iceroth
2007-05-20 08:55:31 +00:00
parent 81f0dcc366
commit 1792b9a681

View File

@ -202,9 +202,9 @@ function CastBar.prototype:SpellCastChannelStart(unit)
local y = self.settings.barHeight - (pos * self.settings.barHeight) local y = self.settings.barHeight - (pos * self.settings.barHeight)
if (self.moduleSettings.side == IceCore.Side.Left) then if (self.moduleSettings.side == IceCore.Side.Left) then
self.lagBar.bar:SetTexCoord(1, 0, pos, 0) self.lagBar.bar:SetTexCoord(1, 0, 1-pos, 1)
else else
self.lagBar.bar:SetTexCoord(0, 1, pos, 0) self.lagBar.bar:SetTexCoord(0, 1, 1-pos, 1)
end end
self.lagBar:SetPoint("BOTTOM", self.frame, "BOTTOM", 0, 0) self.lagBar:SetPoint("BOTTOM", self.frame, "BOTTOM", 0, 0)