From f40a0a9f97c532a9162c8e46ada25f0656a7b9dc Mon Sep 17 00:00:00 2001 From: Parnic Date: Mon, 22 Nov 2010 02:19:23 +0000 Subject: [PATCH] - 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 --- modules/CustomBar.lua | 2 +- modules/CustomCDBar.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index a3fa2db..3303704 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -480,7 +480,7 @@ function IceCustomBar.prototype:GetOptions() end 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 -- 'Protected' methods -------------------------------------------------------- diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index 35d639b..0f2bc21 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -380,7 +380,7 @@ function IceCustomCDBar.prototype:GetOptions() end 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 -- 'Protected' methods --------------------------------------------------------