Mercurial > wow > reaction
comparison StanceButton.lua @ 279:5b9c0164a491
Fixed a number of problems with drag corners in config mode
- Fixed button resizing via dragging not updating until a reload
- Fixed pet/stance/vehicle buttons not always displaying in config mode
- Fixed error spam when making too many pet/bag buttons
| author | Flick |
|---|---|
| date | Wed, 11 May 2011 16:19:17 -0700 |
| parents | 4e325f1ea6e1 |
| children | 276165a0e860 |
comparison
equal
deleted
inserted
replaced
| 277:4e325f1ea6e1 | 279:5b9c0164a491 |
|---|---|
| 109 self.updatePending = true | 109 self.updatePending = true |
| 110 else | 110 else |
| 111 self.updatePending = false | 111 self.updatePending = false |
| 112 local idx = self:GetActionID() | 112 local idx = self:GetActionID() |
| 113 local f = self:GetFrame() | 113 local f = self:GetFrame() |
| 114 if idx > GetNumShapeshiftForms() then | 114 if idx > GetNumShapeshiftForms() and not ReAction:GetConfigMode() then |
| 115 f:Hide() | 115 f:Hide() |
| 116 else | 116 else |
| 117 f:SetAttribute("spell", select(2,GetShapeshiftFormInfo(idx))) | 117 f:SetAttribute("spell", select(2,GetShapeshiftFormInfo(idx))) |
| 118 f:Show() | 118 f:Show() |
| 119 self:Update() | 119 self:Update() |
