fix: replace queue add label with header plus button
This commit is contained in:
@@ -59,9 +59,9 @@ Active playback prevents idle system sleep. Local video also keeps the display a
|
||||
|
||||
### Local-file queue
|
||||
|
||||
Use the **Queue** icon immediately left of the compact-mode button in the playback controls, or **View → Show Queue**, to show the editable sidebar. **Add to Queue…** and dropping files onto the sidebar append without replacing the queue or interrupting the current item. Drag rows to reorder, remove them with the minus button, and double-click a row to play it. The current item is marked; context menus also offer Play, Remove and Move Up/Down.
|
||||
Use the **Queue** icon immediately left of the compact-mode button in the playback controls, or **View → Show Queue**, to show the editable sidebar. The **+** button beside the queue count opens **Add to Queue…**; it and dropping files onto the sidebar append without replacing the queue or interrupting the current item. Drag rows to reorder, remove them with the minus button, and double-click a row to play it. The current item is marked; context menus also offer Play, Remove and Move Up/Down.
|
||||
|
||||
The navigation/Add row has extra space above it. Queue rows use equal-width leading and remove-icon slots, with 8-point outer insets matching the gaps between icons and filenames and no additional horizontal scroll-content margin.
|
||||
The navigation row has extra space above it. Queue rows use equal-width leading and remove-icon slots, with 8-point outer insets matching the gaps between icons and filenames and no additional horizontal scroll-content margin.
|
||||
|
||||
In a normal window, showing the queue expands the window outward while preserving the video's size; hiding it removes that extra width. The sidebar meets the video directly, without a separate divider gap. The window shifts left when necessary near the screen's right edge. Fullscreen keeps its fixed bounds.
|
||||
|
||||
|
||||
@@ -2293,6 +2293,8 @@ private struct PlayerContent: View {
|
||||
}
|
||||
.font(.system(size: 13))
|
||||
.accessibilityElement(children: .combine)
|
||||
iconButton("plus", "Add to Queue…", action: model.addQueuePanel)
|
||||
.disabled(!model.canOpen)
|
||||
Spacer(minLength: 4)
|
||||
titleControls
|
||||
}
|
||||
@@ -2305,7 +2307,6 @@ private struct PlayerContent: View {
|
||||
iconButton("forward.end.fill", "Next Queue Item") { model.advanceQueue(1) }
|
||||
.disabled(!model.canNextQueueItem)
|
||||
Spacer()
|
||||
Button("Add to Queue…", action: model.addQueuePanel).disabled(!model.canOpen)
|
||||
}
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.top, 8)
|
||||
|
||||
Reference in New Issue
Block a user