Skip to content

Commit f333a82

Browse files
committed
Pinned frames: enforce the visibility invariant on zone-in too
The PLAYER_ENTERING_WORLD same-mode branch re-asserted the show side per set but never the hide side, so a stray surviving from earlier in the session lasted until the next login/profile/mode change. Every loading screen now reaps it as well.
1 parent ec9e00a commit f333a82

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Features/PinnedFrames.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3126,6 +3126,9 @@ eventFrame:SetScript("OnEvent", function(self, event, arg1, ...)
31263126
local set = GetSetDB(i)
31273127
if set then PinnedFrames:SetEnabled(i, set.enabled) end
31283128
end
3129+
-- And the hide side of the invariant: reap strays/disabled
3130+
-- chrome on every zone-in, not just logins and mode changes.
3131+
PinnedFrames:PruneOrphanedSets()
31293132
PinnedFrames:RequestProcessAllSets()
31303133
end
31313134
end

0 commit comments

Comments
 (0)