From 309d17941d5159f93f479bd822ad7bc6ff3f5d02 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 28 Sep 2026 23:45:24 +0200 Subject: [PATCH] Keep the macOS player controls hoverable when the corner layout panels come back Exiting native fullscreen from the corner layout restores the panels, and the controls view read that as a floating details panel opening: it set a hide override and ignored mouse movement for as long as the panel stayed visible, so hovering the video no longer showed the controls. Only a floating (unpinned) panel covers the video, so the flag now excludes pinned panels, matching the existing widescreen rule. Corner panels are pinned, so the fullscreen restore and the title-tap toggle keep the controls responsive to hover. --- Yattee/Views/Player/ExpandedPlayerSheet+Layouts.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Yattee/Views/Player/ExpandedPlayerSheet+Layouts.swift b/Yattee/Views/Player/ExpandedPlayerSheet+Layouts.swift index cce7b704..bbeed1a1 100644 --- a/Yattee/Views/Player/ExpandedPlayerSheet+Layouts.swift +++ b/Yattee/Views/Player/ExpandedPlayerSheet+Layouts.swift @@ -1749,7 +1749,12 @@ extension ExpandedPlayerSheet { onTitleTap: { onTogglePanel() }, - isDetailsPanelVisible: isPanelVisible, + // Only a floating (unpinned) panel covers the video and + // takes the controls with it. Pinned and corner layout + // panels sit beside the video: showing them again (e.g. + // the restore after native fullscreen) must not leave the + // controls hidden with hover unable to bring them back. + isDetailsPanelVisible: isPanelVisible && !isPanelPinned, onRateChanged: { rate in playerState.rate = rate playerService.currentBackend?.rate = Float(rate.rawValue)