fix: restore bordered styling for queue add button
This commit is contained in:
@@ -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.
|
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.
|
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.
|
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,8 +2293,13 @@ private struct PlayerContent: View {
|
|||||||
}
|
}
|
||||||
.font(.system(size: 13))
|
.font(.system(size: 13))
|
||||||
.accessibilityElement(children: .combine)
|
.accessibilityElement(children: .combine)
|
||||||
iconButton("plus", "Add to Queue…", action: model.addQueuePanel)
|
Button(action: model.addQueuePanel) {
|
||||||
.disabled(!model.canOpen)
|
Image(systemName: "plus")
|
||||||
|
}
|
||||||
|
.buttonStyle(.bordered)
|
||||||
|
.help("Add to Queue…")
|
||||||
|
.accessibilityLabel("Add to Queue…")
|
||||||
|
.disabled(!model.canOpen)
|
||||||
Spacer(minLength: 4)
|
Spacer(minLength: 4)
|
||||||
titleControls
|
titleControls
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user