fix: balance sidebar control edge insets
This commit is contained in:
@@ -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 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.
|
||||
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, with matching top and right button insets; 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.
|
||||
|
||||
|
||||
@@ -2110,7 +2110,7 @@ private struct PlayerContent: View {
|
||||
CastDeviceMenu(model: model)
|
||||
actionsMenu
|
||||
}
|
||||
.padding(.horizontal, 8)
|
||||
.padding(.horizontal, model.showsQueue ? 0 : 8)
|
||||
.frame(height: 24)
|
||||
.background {
|
||||
if !model.showsQueue {
|
||||
@@ -2296,7 +2296,8 @@ private struct PlayerContent: View {
|
||||
Spacer(minLength: 4)
|
||||
titleControls
|
||||
}
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.leading, 12)
|
||||
.padding(.trailing, 4)
|
||||
.frame(height: 32)
|
||||
HStack {
|
||||
iconButton("backward.end.fill", "Previous Queue Item") { model.advanceQueue(-1) }
|
||||
|
||||
Reference in New Issue
Block a user