Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions EllesmereUIActionBars/EllesmereUIActionBars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,12 @@ hiddenParent:Hide()
function ns.QuietlyHideBlizzButton(btn)
btn:UnregisterAllEvents()
btn:SetAttributeNoHandler("statehidden", true)
-- Blizzard's own re-init re-registers events (incl. cooldown) on this
-- already-tainted button; re-strip them on its next OnShow.
if not btn._eabReassertHide then
btn._eabReassertHide = true
btn:HookScript("OnShow", function(self) self:UnregisterAllEvents() end)
end
end

-- Re-hide a stock bar Blizzard just re-Show()'d, without calling Hide() or
Expand Down