mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- added a configuration mode to show all bars temporarily so they can be placed
- changed how frames are shown and hidden so we don't call show/hide unnecessarily - widened the min/max offset numbers to allow greater placement flexibility
This commit is contained in:
@ -150,10 +150,10 @@ function DruidMana.prototype:Update()
|
||||
local forms = (UnitPowerType(self.unit) ~= 0)
|
||||
|
||||
if (not self.alive or not forms or not self.druidMana or not self.druidManaMax) then
|
||||
self.frame:Hide()
|
||||
self:Show(false)
|
||||
return
|
||||
else
|
||||
self.frame:Show()
|
||||
self:Show(true)
|
||||
end
|
||||
|
||||
self:UpdateBar(self.druidMana / self.druidManaMax, "DruidMana")
|
||||
|
Reference in New Issue
Block a user