Couldn't help myself, the show always when open option
Code:
CompactRaidFrameManager:HookScript("OnEnter", function(self) if self:IsMouseOver() and self.collapsed then self:SetAlpha(1) end end)
CompactRaidFrameManager:HookScript("OnLeave", function(self) if not self:IsMouseOver() and self.collapsed then self:SetAlpha(0) end end)
CompactRaidFrameManagerToggleButton:HookScript("OnEnter", function(self) local f = self:GetParent() if f:IsMouseOver() and f.collapsed then f:SetAlpha(1) end end)
CompactRaidFrameManagerToggleButton:HookScript("OnLeave", function(self) local f = self:GetParent() if not f:IsMouseOver() and f.collapsed then f:SetAlpha(0) end end)
CompactRaidFrameContainer:SetParent(UIParent)
CompactRaidFrameManager:SetAlpha(0) -- if in raid when logging in