Fix an error when trying to change the color of a custom bar.

This commit is contained in:
shefki
2010-03-25 00:58:38 +00:00
parent 165726c135
commit f303d7ee75

View File

@ -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