comparison classes/ActionButton.lua @ 141:0de0e64a970f

Fixed hotkey color settings
author Flick <flickerstreak@gmail.com>
date Mon, 13 Apr 2009 20:42:21 +0000
parents 497936c503a0
children 42cade25d40d
comparison
equal deleted inserted replaced
140:497936c503a0 141:0de0e64a970f
371 if texture then 371 if texture then
372 icon:SetTexture(texture) 372 icon:SetTexture(texture)
373 icon:Show() 373 icon:Show()
374 self.rangeTimer = -1 374 self.rangeTimer = -1
375 f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot2") 375 f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot2")
376 hotkey:SetVertexColor(1.0, 1.0, 1.0)
377 else 376 else
378 icon:Hide() 377 icon:Hide()
379 self.frames.cooldown:Hide() 378 self.frames.cooldown:Hide()
380 self.rangeTimer = nil 379 self.rangeTimer = nil
381 f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot") 380 f:SetNormalTexture("Interface\\Buttons\\UI-Quickslot")
382 hotkey:SetVertexColor(0.6, 0.6, 0.6)
383 end 381 end
384 end 382 end
385 383
386 function Action:UpdateBorder() 384 function Action:UpdateBorder()
387 local action = self.actionID 385 local action = self.actionID