Bundle of fixes #10

Merged
omicron merged 11 commits from Andreas/OmicronFrames:bundle-of-fixes into main 2026-10-29 09:10:53 +00:00
Showing only changes of commit 14aeb2c43e - Show all commits
+2 -3
View File
@@ -389,10 +389,9 @@ function UnitFrame:Disable()
if self.hideInRaid then
UnregisterAttributeDriver(self.secureFrame, "state-visibility")
elseif self.unit ~= "player" then
UnregisterUnitWatch(self.secure_frame, self.condition)
else
self.secureFrame:Hide()
UnregisterUnitWatch(self.secureFrame, false)
end
self.secureFrame:Hide()
end
-- returns true if this unit is a target unit