diff classes/ReAction_PetActionDisplay.lua @ 10:f3a7bfebc283

Version 0.33
author Flick <flickerstreak@gmail.com>
date Tue, 20 Mar 2007 21:37:38 +0000
parents c05fd3e18b4f
children
line wrap: on
line diff
--- a/classes/ReAction_PetActionDisplay.lua	Tue Mar 20 21:35:57 2007 +0000
+++ b/classes/ReAction_PetActionDisplay.lua	Tue Mar 20 21:37:38 2007 +0000
@@ -169,8 +169,11 @@
   end
 end
 
-function RAPAD:DisplayHotkey(txt)
-  self.frames.hotkey:SetText(string.upper(txt or ""))
+function RAPAD:DisplayHotkey(txt,button)
+  if button == nil or button == "LeftButton" then
+    -- only left-button hotkeys supported
+    self.frames.hotkey:SetText(string.upper(txt or ""))
+  end
 end
 
 function RAPAD:DisplayInUse( inUse )