Mercurial > wow > reaction
comparison ActionButton.lua @ 265:b40e2aaccfa0
Fix for issue #8 - action drag handler now supports equipment manager sets (and mounts/pets)
author | Flick |
---|---|
date | Tue, 10 May 2011 09:55:47 -0700 |
parents | c918ff9ac787 |
children | 8fde9da21652 |
comparison
equal
deleted
inserted
replaced
263:e0071c480445 | 265:b40e2aaccfa0 |
---|---|
121 end | 121 end |
122 ]] | 122 ]] |
123 | 123 |
124 local _onReceiveDrag = -- function(self, button, kind, value, ...) | 124 local _onReceiveDrag = -- function(self, button, kind, value, ...) |
125 [[ | 125 [[ |
126 if kind ~= "spell" and kind ~= "item" and kind ~= "macro" and kind ~= "flyout" then | 126 if kind ~= "spell" and kind ~= "item" and kind ~= "macro" and kind ~= "flyout" and kind ~= "equipmentset" and kind ~= "companion" then |
127 return kind, value, ... | 127 return kind, value, ... |
128 else | 128 else |
129 if showgrid_event and showgrid_event > 0 then | 129 if showgrid_event and showgrid_event > 0 then |
130 self:SetAttribute("showgrid-clicked",true) | 130 self:SetAttribute("showgrid-clicked",true) |
131 end | 131 end |