fix: restore bordered styling for queue add button

This commit is contained in:
2026-10-18 19:16:37 +02:00
parent 804d946970
commit a17b2fc7d7
2 changed files with 9 additions and 2 deletions
+2
View File
@@ -61,6 +61,8 @@ Active playback prevents idle system sleep. Local video also keeps the display a
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 header's **+** uses the same bordered container and accent tint as the former **Add to Queue…** button.
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.
+7 -2
View File
@@ -2293,8 +2293,13 @@ private struct PlayerContent: View {
}
.font(.system(size: 13))
.accessibilityElement(children: .combine)
iconButton("plus", "Add to Queue…", action: model.addQueuePanel)
.disabled(!model.canOpen)
Button(action: model.addQueuePanel) {
Image(systemName: "plus")
}
.buttonStyle(.bordered)
.help("Add to Queue…")
.accessibilityLabel("Add to Queue…")
.disabled(!model.canOpen)
Spacer(minLength: 4)
titleControls
}