From 8812a5ef841c14d7fc131c4a2a8928ba6654fa57 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 11 Feb 2025 21:19:01 +0100 Subject: [PATCH] unitframes: hide base frame on visibility check --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 326e3601..51035987 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -375,7 +375,7 @@ function pfUI.uf:UpdateVisibility() end elseif self.label == "pettarget" then if not UnitIsVisible(unitstr) or not UnitExists("pet") then - self.frame:Hide() + self:Hide() return end end