diff ObjectiveTracker/Layout.lua @ 59:07ef62fe201f

Re-write of BuffFrame module: - uses secure hooks on blizzard BuffFrame.lua functions to determine needed action - make use of built-in table behavior to reduce unnecessary frame updates
author Nenue
date Thu, 28 Jul 2016 18:27:56 -0400
parents f253baf6022d
children
line wrap: on
line diff
--- a/ObjectiveTracker/Layout.lua	Fri Jul 08 18:01:49 2016 -0400
+++ b/ObjectiveTracker/Layout.lua	Thu Jul 28 18:27:56 2016 -0400
@@ -255,7 +255,7 @@
   block.title:SetPoint('TOP', block, 'TOP', 0, -titleSpacing)
   block.title:SetPoint('LEFT', block, 'LEFT', titleIndent, 0)
   block.title:SetTextColor(unpack(titleColor))
-  block.titlebg:SetTexture(1,1,1,1)
+  block.titlebg:SetColorTexture(1,1,1,1)
   block.titlebg:SetGradientAlpha(unpack(titlebg))
   block.titlebg:SetPoint('TOP', block, 'TOP', 0, 0)
   block.titlebg:SetPoint('BOTTOM', block.title, 'BOTTOM', 0, -titleSpacing)
@@ -265,7 +265,7 @@
   block.status:SetPoint('LEFT', block.titlebg, 'LEFT', textIndent, 0)
   block.statusbg:SetPoint('TOP', block.titlebg, 'BOTTOM', 0, 0)
   block.statusbg:SetPoint('BOTTOM', block, 'BOTTOM', 0, 0)
-  block.statusbg:SetTexture(1,1,1,1)
+  block.statusbg:SetColorTexture(1,1,1,1)
   block.statusbg:SetGradientAlpha(unpack(textbg))
   block.statusbg:SetBlendMode(textBlend)
   block.SelectionOverlay:SetGradientAlpha(unpack(selectionbg))