mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
unitframes: properly detect unset focus frame
This commit is contained in:
+1
-1
@@ -879,7 +879,7 @@ function pfUI.uf.OnUpdate()
|
||||
|
||||
-- handle pseudo focus target visibility
|
||||
if this.unitname and this == pfFocusTarget then
|
||||
if pfFocus and not pfFocus.label then
|
||||
if pfFocus and not pfFocus.label or pfFocus.label == "" then
|
||||
this.label = nil
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user