Quantcast

Update to reflect changes in Plug-in

p3lim-52096 [10-03-08 - 22:19]
Update to reflect changes in Plug-in

git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@28 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
Filename
oUF_P3lim/oUF_P3lim.lua
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index 17a0438..2ec5c30 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -156,6 +156,8 @@ local function CreateStyle(self, unit)
 		self.Power.text = self.Power:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall')
 		self.Power.text:SetPoint('LEFT', self.Health, 2, -1)

+		self.barFade = true
+
 		if(IsAddOnLoaded('oUF_Experience')) then
 			self.Experience = CreateFrame('StatusBar', nil, self)
 			self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10)
@@ -184,8 +186,6 @@ local function CreateStyle(self, unit)
 			self.Spark:SetWidth(8)
 			self.Spark.manatick = true

-			self.BarFade = true
-
 			if(IsAddOnLoaded('oUF_DruidMana') and class == 'DRUID') then
 				self.DruidMana = CreateFrame('StatusBar', nil, self)
 				self.DruidMana:SetPoint('BOTTOM', self.Power, 'TOP')
@@ -202,7 +202,6 @@ local function CreateStyle(self, unit)
 			self.Power.colorPower = true
 			self.Power.colorHappiness = true
 			self.Power.colorReaction = false
-			self.BarFade = true

 			self.Buffs = CreateFrame('Frame', nil, self)
 			self.Buffs:SetPoint('TOPRIGHT', self, 'TOPLEFT', -2, 1)