mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 09:44:44 +00:00
perf: eliminate string allocation GC spikes in healthbar refreshing and remove full UI rebuilds on target change
This commit is contained in:
@@ -378,7 +378,10 @@ function HealBot_OnEvent_PlayerRegenEnabled(this)
|
||||
end
|
||||
|
||||
function HealBot_OnEvent_PlayerTargetChanged(this)
|
||||
HealBot_RecalcParty();
|
||||
if HealBot_Action_UnitButtons and HealBot_Action_UnitButtons["target"] then
|
||||
HealBot_Action_RefreshButtons("target");
|
||||
HealBot_OnEvent_UnitAura(nil, "target");
|
||||
end
|
||||
end
|
||||
|
||||
function HealBot_OnEvent_PartyMembersChanged(this)
|
||||
|
||||
Reference in New Issue
Block a user