mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-24 08:36:04 +00:00
unitframes: update virtual focus target visibility
This commit is contained in:
@@ -877,6 +877,14 @@ function pfUI.uf.OnUpdate()
|
||||
end
|
||||
end
|
||||
|
||||
-- handle pseudo focus target visibility
|
||||
if this.unitname and this == pfFocusTarget then
|
||||
if pfFocus and not pfFocus.label then
|
||||
this.label = nil
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
if not this.label then return end
|
||||
|
||||
-- update portrait on first visible frame
|
||||
|
||||
Reference in New Issue
Block a user