mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fix for channeling lag indicator positioning
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user