mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Version 0.3
- More configuration options - Added another texture option for bars - /icehud now opens Dewdrop menu directly - Rogue/cat energy ticker
This commit is contained in:
@ -57,7 +57,6 @@ function CastBar.prototype:Enable()
|
||||
|
||||
self.frame:Hide()
|
||||
|
||||
|
||||
-- remove blizz cast bar
|
||||
CastingBarFrame:UnregisterAllEvents()
|
||||
end
|
||||
@ -76,6 +75,16 @@ function CastBar.prototype:Disable()
|
||||
CastingBarFrame:RegisterEvent("SPELLCAST_CHANNEL_STOP");
|
||||
end
|
||||
|
||||
|
||||
-- OVERRIDE
|
||||
function CastBar.prototype:Redraw()
|
||||
CastBar.super.prototype.Redraw(self)
|
||||
|
||||
self.frame.bottomUpperText:SetWidth(180)
|
||||
end
|
||||
|
||||
|
||||
|
||||
-- 'Protected' methods --------------------------------------------------------
|
||||
|
||||
|
||||
@ -118,7 +127,7 @@ function CastBar.prototype:OnUpdate()
|
||||
if (scale < 0.1) then -- "wait" for possible fail event before showing success animation
|
||||
return
|
||||
end
|
||||
self.alpha = 0.5
|
||||
self.alpha = 0.9
|
||||
self:UpdateBar(1, "castSuccess", 1.1-scale)
|
||||
|
||||
if (scale >= 1) then
|
||||
|
Reference in New Issue
Block a user