From f303d7ee75f9671152ca7190451f6128df7fe38e Mon Sep 17 00:00:00 2001 From: shefki Date: Thu, 25 Mar 2010 00:58:38 +0000 Subject: [PATCH] Fix an error when trying to change the color of a custom bar. --- modules/CustomBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index 72e9255..040ae26 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -204,7 +204,7 @@ function IceCustomBar.prototype:GetOptions() self.moduleSettings.barColor.r = r self.moduleSettings.barColor.g = g self.moduleSettings.barColor.b = b - self.barFrame:SetStatusBarColor(self:GetBarColor()) + self.barFrame.bar:SetVertexColor(self:GetBarColor()) end, disabled = function() return not self.moduleSettings.enabled