Mercurial > wow > reaction
comparison PetActionButton.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 | 2098dba4baf5 |
comparison
equal
deleted
inserted
replaced
| 277:4e325f1ea6e1 | 279:5b9c0164a491 |
|---|---|
| 158 | 158 |
| 159 function Pet:SetupBar(bar) | 159 function Pet:SetupBar(bar) |
| 160 Super.SetupBar(self,bar) | 160 Super.SetupBar(self,bar) |
| 161 | 161 |
| 162 -- auto show/hide when pet exists | 162 -- auto show/hide when pet exists |
| 163 bar:RegisterUnitWatch("pet",true) | 163 bar:RegisterUnitWatch("pet",not ReAction:GetConfigMode()) |
| 164 | 164 |
| 165 self:UpdateButtonLock(bar) | 165 self:UpdateButtonLock(bar) |
| 166 end | 166 end |
| 167 | 167 |
| 168 function Pet:UpdateButtonLock(bar) | 168 function Pet:UpdateButtonLock(bar) |
