- fixed custom buff bars and cooldown bars multiplying alpha values when they shouldn't have been. at low alpha this meant that they were much more transparent than they should have been

This commit is contained in:
Parnic
2010-11-22 02:19:23 +00:00
parent fb09700ec3
commit f40a0a9f97
2 changed files with 2 additions and 2 deletions

View File

@ -480,7 +480,7 @@ function IceCustomBar.prototype:GetOptions()
end end
function IceCustomBar.prototype:GetBarColor() function IceCustomBar.prototype:GetBarColor()
return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b, self.alpha return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b, 1
end end
-- 'Protected' methods -------------------------------------------------------- -- 'Protected' methods --------------------------------------------------------

View File

@ -380,7 +380,7 @@ function IceCustomCDBar.prototype:GetOptions()
end end
function IceCustomCDBar.prototype:GetBarColor() function IceCustomCDBar.prototype:GetBarColor()
return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b, self.alpha return self.moduleSettings.barColor.r, self.moduleSettings.barColor.g, self.moduleSettings.barColor.b, 1
end end
-- 'Protected' methods -------------------------------------------------------- -- 'Protected' methods --------------------------------------------------------