From 15d7a445d946e7fbb06143a127ddc9c3f6039662 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 20 Jan 2021 16:35:44 +0100 Subject: [PATCH] unitframes: properly detect unset focus frame --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index dc373d11..7d68f854 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -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