mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 10:40:48 +00:00
unitframes: update virtual focus target visibility
This commit is contained in:
@@ -877,6 +877,14 @@ function pfUI.uf.OnUpdate()
|
|||||||
end
|
end
|
||||||
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
|
if not this.label then return end
|
||||||
|
|
||||||
-- update portrait on first visible frame
|
-- update portrait on first visible frame
|
||||||
|
|||||||
Reference in New Issue
Block a user