mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
unitframes: do not proceed on hidden frames
This commit is contained in:
@@ -573,6 +573,8 @@ function pfUI.uf:RefreshUnit(unit, component)
|
||||
if not unit.cache then unit.cache = {} end
|
||||
if not unit.id then unit.id = "" end
|
||||
|
||||
if not unit:IsShown() then return end
|
||||
|
||||
-- Raid Icon
|
||||
if unit.raidIcon and ( component == "all" or component == "raidIcon" ) then
|
||||
local raidIcon = GetRaidTargetIndex(unit.label .. unit.id)
|
||||
|
||||
Reference in New Issue
Block a user