unitframes: use less indicator updates

This commit is contained in:
shagu
2017-11-09 23:25:10 +01:00
parent ecb6640d4f
commit 4fa7c416aa
+5 -5
View File
@@ -882,14 +882,14 @@ function pfUI.uf:RefreshUnit(unit, component)
break
end
end
-- add icons for every found buff
for pos, icon in pairs(active) do
pfUI.uf:AddIcon(unit, pos, icon)
end
end
end
-- add icons for every found buff
for pos, icon in pairs(active) do
pfUI.uf:AddIcon(unit, pos, icon)
end
-- hide unued icon slots
for pos=table.getn(active)+1, 6 do
pfUI.uf:HideIcon(unit, pos)