mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed "bar visible" checkbox to also hide/show the solar portion of the eclipse bar
This commit is contained in:
@ -56,6 +56,20 @@ function EclipseBar.prototype:Disable(core)
|
||||
EclipseBar.super.prototype.Disable(self, core)
|
||||
end
|
||||
|
||||
function EclipseBar.prototype:SetBarVisibility(visible)
|
||||
EclipseBar.super.prototype.SetBarVisibility(self, visible)
|
||||
|
||||
if not self.solarBar then
|
||||
return
|
||||
end
|
||||
|
||||
if visible then
|
||||
self.solarBar:Show()
|
||||
else
|
||||
self.solarBar:Hide()
|
||||
end
|
||||
end
|
||||
|
||||
function EclipseBar.prototype:CreateFrame()
|
||||
EclipseBar.super.prototype.CreateFrame(self)
|
||||
|
||||
|
Reference in New Issue
Block a user