From daf5fe1ad1661da7ee2d16023e8ae07120ebd0da Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 29 Jun 2026 21:04:41 +0200 Subject: [PATCH] Fix full-width Speed menu on macOS Sequoia The borderlessButton menu stretches to fill the available width on macOS 15, so pin it to its intrinsic size with .fixedSize(). --- Yattee/Views/Player/QualitySelectorView+Sections.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Yattee/Views/Player/QualitySelectorView+Sections.swift b/Yattee/Views/Player/QualitySelectorView+Sections.swift index f2aaede0..a06ebfcb 100644 --- a/Yattee/Views/Player/QualitySelectorView+Sections.swift +++ b/Yattee/Views/Player/QualitySelectorView+Sections.swift @@ -860,7 +860,10 @@ private extension View { #if os(tvOS) self #else + // On macOS Sequoia the borderlessButton menu stretches to fill the + // available width unless it is pinned to its intrinsic size. self.menuStyle(.borderlessButton) + .fixedSize() #endif } }