Mercurial > wow > kbf
comparison KBF.lua @ 36:758987dad08c
I did not remember to not commit my one-timer hack
| author | Chris Mellon <arkanes@gmail.com> |
|---|---|
| date | Wed, 29 Dec 2010 06:13:13 -0600 |
| parents | 2986c72f64ba |
| children | 15b9e97ab2d2 |
comparison
equal
deleted
inserted
replaced
| 35:ce94b2e71167 | 36:758987dad08c |
|---|---|
| 52 HideBlizFrame(TemporaryEnchantFrame) | 52 HideBlizFrame(TemporaryEnchantFrame) |
| 53 | 53 |
| 54 end | 54 end |
| 55 | 55 |
| 56 function kbf:OnUpdate() | 56 function kbf:OnUpdate() |
| 57 -- little custom hax to reposition the alternate power bar | |
| 58 -- try really hard to remember not to commit this | |
| 59 if PlayerPowerBarAlt:IsShown() then | |
| 60 PlayerPowerBarAlt:ClearAllPoints() | |
| 61 PlayerPowerBarAlt:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, 233) | |
| 62 end | |
| 63 | |
| 64 if self.pollForUnitChange and not InCombatLockdown() then | 57 if self.pollForUnitChange and not InCombatLockdown() then |
| 65 if UnitHasVehicleUI("player") then | 58 if UnitHasVehicleUI("player") then |
| 66 -- only swap if we're in a "real" vehicle with its own actions | 59 -- only swap if we're in a "real" vehicle with its own actions |
| 67 -- There is possibly a timing issue here where | 60 -- There is possibly a timing issue here where |
| 68 -- we have set the poll flag but the unit is not | 61 -- we have set the poll flag but the unit is not |
