mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 03:56:15 -08:00
The command palette is a MatDialog with a transparent backdrop, and the prior MutationObserver-only detector did not reliably catch it across overlay-container instantiation timing — the player kept rendering at full bounds while the palette was open and continued occluding it. Subscribe directly to MatDialog.afterOpened / afterAllClosed for the authoritative "any modal dialog open" signal, and keep the OverlayContainer mutation observer as a fallback for non-dialog CDK overlays. Either signal flips overlayActive, hiding the embedded MPV view as before. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Entire-Checkpoint: f957cd9849e0