- reverted r500 because it was causing taint

This commit is contained in:
Parnic
2010-04-24 14:49:46 +00:00
parent 228111204a
commit b13ee96e8d
2 changed files with 4 additions and 2 deletions

View File

@ -1183,7 +1183,7 @@ function PlayerHealth.prototype:UpdateBar(scale, color, alpha)
if self.healFrame and self.healFrame.bar then if self.healFrame and self.healFrame.bar then
self.healFrame.bar:SetVertexColor(self:GetColor("PlayerHealthHealAmount", self.alpha * self.moduleSettings.healAlpha)) self.healFrame.bar:SetVertexColor(self:GetColor("PlayerHealthHealAmount", self.alpha * self.moduleSettings.healAlpha))
end end
--[[ seems to be causing taint. oh well
if self.frame.button then if self.frame.button then
if self.alpha == 0 then if self.alpha == 0 then
self.frame.button:Hide() self.frame.button:Hide()
@ -1191,6 +1191,7 @@ function PlayerHealth.prototype:UpdateBar(scale, color, alpha)
self.frame.button:Show() self.frame.button:Show()
end end
end end
]]
end end
-- Load us up -- Load us up

View File

@ -895,7 +895,7 @@ end
function IceTargetHealth.prototype:UpdateBar(scale, color, alpha) function IceTargetHealth.prototype:UpdateBar(scale, color, alpha)
IceTargetHealth.super.prototype.UpdateBar(self, scale, color, alpha) IceTargetHealth.super.prototype.UpdateBar(self, scale, color, alpha)
--[[ seems to be causing taint. oh well
if self.frame.button then if self.frame.button then
if self.alpha == 0 then if self.alpha == 0 then
self.frame.button:Hide() self.frame.button:Hide()
@ -903,6 +903,7 @@ function IceTargetHealth.prototype:UpdateBar(scale, color, alpha)
self.frame.button:Show() self.frame.button:Show()
end end
end end
]]
end end