Quantcast

Use cpoint tag since oUF only supports texture in 1.4

Adrian L Lange [05-09-10 - 13:49]
Use cpoint tag since oUF only supports texture in 1.4
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 13122d6..2e4d594 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -250,12 +250,11 @@ local function Style(self, unit)

 		local cpoints = self:CreateFontString(nil, 'OVERLAY', 'SubZoneTextFont')
 		cpoints:SetPoint('RIGHT', self, 'LEFT', -9, 0)
-		cpoints:SetTextColor(1, 1, 1)
 		cpoints:SetJustifyH('RIGHT')
+		self:Tag(cpoints, '|cffffffff[cpoints]|r')

 		self.Buffs = buffs
 		self.Debuffs = debuffs
-		self.CPoints = cpoints
 		self.Power.PostUpdate = PostUpdatePower
 		self:SetAttribute('initial-width', 230)
 	end