unitframes: properly detect unset focus frame

This commit is contained in:
shagu
2021-01-20 16:35:44 +01:00
parent 616b726a76
commit 15d7a445d9
+1 -1
View File
@@ -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