fix: remove sidebar control container

This commit is contained in:
2026-10-18 12:23:27 +02:00
parent 640e23b004
commit 7a7d6b9674
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ In a normal window, showing the queue expands the window outward while preservin
Resizing with the queue open preserves the video's aspect ratio while keeping the sidebar at a fixed width; closing the queue retains ordinary aspect-locked video resizing.
While the sidebar is open, its persistent top header holds the queue count, queue toggle, pin, Cast and settings controls; these do not fade with the video controls. Closing the sidebar returns those controls to the auto-hiding video titlebar. Space and configured playback shortcuts continue working with queue-list focus; Tab navigation, deliberately focused buttons/sliders and text entry keep their native keyboard behavior.
While the sidebar is open, its persistent top header holds the queue count, queue toggle, pin, Cast and settings controls without a surrounding glass container; these do not fade with the video controls. Closing the sidebar returns those controls to the auto-hiding video titlebar with its glass container. Space and configured playback shortcuts continue working with queue-list focus; Tab navigation, deliberately focused buttons/sliders and text entry keep their native keyboard behavior.
Playback advances automatically and stops at the end, without wrapping. **Previous Queue Item** and **Next Queue Item** are available in the sidebar and Playback menu and are disabled at their respective ends. Reordering or removing another item does not interrupt playback; removing the current item plays its next neighbor, or stops if there is none. A playback error stays on that item rather than skipping it.
+6 -2
View File
@@ -2112,8 +2112,12 @@ private struct PlayerContent: View {
}
.padding(.horizontal, 8)
.frame(height: 24)
.background(PlayerGlass(cornerRadius: 8)
.clipShape(RoundedRectangle(cornerRadius: 8)).allowsHitTesting(false))
.background {
if !model.showsQueue {
PlayerGlass(cornerRadius: 8)
.clipShape(RoundedRectangle(cornerRadius: 8)).allowsHitTesting(false)
}
}
}
private var captionsMenu: some View {