mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 04:20:50 +00:00
unitframes: use less indicator updates
This commit is contained in:
+5
-5
@@ -882,14 +882,14 @@ function pfUI.uf:RefreshUnit(unit, component)
|
|||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- add icons for every found buff
|
|
||||||
for pos, icon in pairs(active) do
|
|
||||||
pfUI.uf:AddIcon(unit, pos, icon)
|
|
||||||
end
|
|
||||||
end
|
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
|
-- hide unued icon slots
|
||||||
for pos=table.getn(active)+1, 6 do
|
for pos=table.getn(active)+1, 6 do
|
||||||
pfUI.uf:HideIcon(unit, pos)
|
pfUI.uf:HideIcon(unit, pos)
|
||||||
|
|||||||
Reference in New Issue
Block a user