- fixed up several "hide blizzard frame" options to re-display when the module is disabled and to call blizzard's OnLoad for the frame instead of manually entering every event to re-register

- fixed "show incoming heals" option to be properly toggleable on 4.0 (bad conditional on the 'disabled' option)
- hid "cooldown mode" option on the totems module since there was never more than one choice
This commit is contained in:
Parnic
2010-09-16 02:42:16 +00:00
parent 1f4a4491ea
commit fd6d570e0b
9 changed files with 77 additions and 71 deletions

View File

@ -39,9 +39,7 @@ end
function ShardCounter.prototype:ShowBlizz()
ShardBarFrame:Show()
ShardBarFrame:RegisterEvent("UNIT_POWER");
ShardBarFrame:RegisterEvent("PLAYER_ENTERING_WORLD");
ShardBarFrame:RegisterEvent("UNIT_DISPLAYPOWER");
ShardBarFrame:GetScript("OnLoad")(ShardBarFrame)
end
function ShardCounter.prototype:HideBlizz()