Mercurial > wow > buffalo2
diff BuffFrame/BuffFrame.lua @ 59:07ef62fe201f
Re-write of BuffFrame module:
- uses secure hooks on blizzard BuffFrame.lua functions to determine needed action
- make use of built-in table behavior to reduce unnecessary frame updates
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 18:27:56 -0400 |
parents | d7655c4e6e06 |
children |
line wrap: on
line diff
--- a/BuffFrame/BuffFrame.lua Fri Jul 08 18:01:49 2016 -0400 +++ b/BuffFrame/BuffFrame.lua Thu Jul 28 18:27:56 2016 -0400 @@ -43,7 +43,7 @@ Aura:RegisterEvent("GROUP_ROSTER_UPDATE") Aura:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED") hooksecurefunc("BuffFrame_UpdateAllBuffAnchors", Aura.PostBuffAnchors) - hooksecurefunc("RaidBuffTray_Update", Aura.UpdateRaidBuffs) + --hooksecurefunc("RaidBuffTray_Update", Aura.UpdateRaidBuffs) end function Aura:OnUpdate ()