changeset 141:0de0e64a970f

Fixed hotkey color settings
author Flick <flickerstreak@gmail.com>
date Mon, 13 Apr 2009 20:42:21 +0000
parents 497936c503a0
children b68be4b6d129
files classes/ActionButton.lua classes/StanceButton.lua
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/classes/ActionButton.lua	Mon Apr 13 20:18:11 2009 +0000
+++ b/classes/ActionButton.lua	Mon Apr 13 20:42:21 2009 +0000
@@ -373,13 +373,11 @@
     icon:Show()
     self.rangeTimer = -1
     f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot2")
-    hotkey:SetVertexColor(1.0, 1.0, 1.0)
   else
     icon:Hide()
     self.frames.cooldown:Hide()
     self.rangeTimer = nil
     f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot")
-    hotkey:SetVertexColor(0.6, 0.6, 0.6)
   end
 end
 
--- a/classes/StanceButton.lua	Mon Apr 13 20:18:11 2009 +0000
+++ b/classes/StanceButton.lua	Mon Apr 13 20:42:21 2009 +0000
@@ -202,11 +202,9 @@
   icon:SetTexture(texture)
   self:GetFrame():SetChecked( isActive and 1 or 0 )
   if isCastable then
-    self.frames.hotkey:SetVertexColor(1.0,1.0,1.0,1.0)
     self.frames.hotkey:Show()
     icon:SetVertexColor(1.0, 1.0, 1.0)
   else
-    self.frames.hotkey:SetVertexColor(0.6,0.6,0.6,1.0)
     icon:SetVertexColor(0.4, 0.4, 0.4)
   end