mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Fixed a bug where buff/debuff watchers were not removing themselves from the central Update list when deleted.
This commit is contained in:
@ -69,6 +69,13 @@ function IceCustomBar.prototype:Enable(core)
|
||||
self:SetCustomTextColor(self.frame.bottomLowerText, self.moduleSettings.lowerTextColor)
|
||||
end
|
||||
|
||||
function IceCustomBar.prototype:Disable(core)
|
||||
self.handlesOwnUpdates = false
|
||||
IceHUD.IceCore:RequestUpdates(self, nil)
|
||||
|
||||
IceCustomBar.super.prototype.Disable(self, core)
|
||||
end
|
||||
|
||||
function IceCustomBar.prototype:FixupTextColors()
|
||||
if not self.moduleSettings.upperTextColor then
|
||||
self.moduleSettings.upperTextColor = {r=1, g=1, b=1}
|
||||
|
Reference in New Issue
Block a user