From 9ce2581165811a1442ca5597d938923790cd917a Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Sat, 27 Dec 2008 06:20:53 +0000 Subject: [PATCH] Fixed colors table git-svn-id: svn://svn.wowinterface.com/oUF_Experience-227/trunk@23 f81be506-7a38-4956-9b9f-d707db2888a5 --- oUF_Experience/oUF_Experience.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oUF_Experience/oUF_Experience.lua b/oUF_Experience/oUF_Experience.lua index 5b86525..835b1d0 100644 --- a/oUF_Experience/oUF_Experience.lua +++ b/oUF_Experience/oUF_Experience.lua @@ -5,7 +5,7 @@ .Experience.Text [fontstring] (optional) Shared: - - Color [table] - will use oUF.colors.health if not set + - Colors [table] - will use oUF.colors.health if not set - Tooltip [boolean] - MouseOver [boolean] @@ -41,7 +41,7 @@ local function Update(self, event, unit) bar:SetMinMaxValues(0, max) bar:SetValue(min) bar:EnableMouse() - bar:SetStatusBarColor(unpack(self.Color or self.colors.health)) + bar:SetStatusBarColor(unpack(bar.Colors or self.colors.health)) if(not bar.MouseOver) then bar:SetAlpha(1) -- 1.7.9.5