View Single Post
07/31/21, 06:18 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Perhaps the update of the bars is done too often if you just respect each reticle change. You could see if the event fires even if your reticle stays on the same enemy/npc and you just move it, first. If that happens cache the last name of the unit below the reticle and check if it changes. If not do not call your code to update the bars. This should prevent some unneeded updates to the bars, but it's only a guess.

I have not worked with unit frames in the past so I do not know the function you refer to, sorry. Maybe another addon dev can help here.
  Reply With Quote