mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.5
- Graphical combo points - Various tweaks and bug fixes (ie. mirror timer bar)
This commit is contained in:
@ -135,6 +135,15 @@ function PlayerMana.prototype:Update(unit)
|
||||
end
|
||||
|
||||
self:UpdateBar(self.mana/self.maxMana, color)
|
||||
|
||||
-- hide ticker if rest of the bar is not visible
|
||||
if (self.alpha == 0) then
|
||||
self.tickerFrame:SetStatusBarColor(self:GetColor("playerEnergy", 0))
|
||||
else
|
||||
self.tickerFrame:SetStatusBarColor(self:GetColor("playerEnergy", self.moduleSettings.tickerAlpha))
|
||||
end
|
||||
|
||||
|
||||
self:SetBottomText1(self.manaPercentage)
|
||||
|
||||
local amount = self:GetFormattedText(self.mana, self.maxMana)
|
||||
@ -203,7 +212,7 @@ function PlayerMana.prototype:CreateTickerFrame()
|
||||
self.tickerFrame:Hide()
|
||||
end
|
||||
|
||||
self.tickerFrame.spark:SetTexture(IceBarElement.TexturePath .. self.settings.barTexture)
|
||||
self.tickerFrame.spark:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
|
||||
self.tickerFrame.spark:SetBlendMode("ADD")
|
||||
self.tickerFrame.spark:ClearAllPoints()
|
||||
self.tickerFrame.spark:SetAllPoints(self.tickerFrame)
|
||||
|
Reference in New Issue
Block a user