unitframes: hide base frame on visibility check

This commit is contained in:
shagu
2025-02-11 21:19:01 +01:00
parent 50039e4c82
commit 8812a5ef84
+1 -1
View File
@@ -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