From a17b2fc7d7a0fba5e1ba338e6e5f9fa0e0223304 Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Sun, 18 Oct 2026 19:16:37 +0200 Subject: [PATCH] fix: restore bordered styling for queue add button --- README.md | 2 ++ Sources/App/TerebiApp.swift | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a92c1e..536c3d8 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/Sources/App/TerebiApp.swift b/Sources/App/TerebiApp.swift index 227c8d7..c532d85 100644 --- a/Sources/App/TerebiApp.swift +++ b/Sources/App/TerebiApp.swift @@ -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 }