mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
unitframes: hide base frame on visibility check
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user