Skip to content

Commit

Permalink
unitframes: hide base frame on visibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Feb 11, 2025
1 parent 50039e4 commit 8812a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/unitframes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8812a5e

Please sign in to comment.