fix: remove extra sidebar list row margins

This commit is contained in:
2026-10-18 19:55:04 +02:00
parent 44d800f387
commit 2e690b1a3a
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ Use the **Queue** icon immediately left of the compact-mode button in the playba
The fixed bottom row holds the queue label/count and **+** on the left, with previous/next controls on the right. Its text and icons share a 15-point size. The **+** is a 20-point rounded-square button with an accent-tinted background and an 8-point gap after the queue count.
Queue rows show a medium-weight, two-line filename without its extension, with a smaller format label beneath it. Rows have a 56-point minimum height, 8-point internal padding and separate outer insets; leading and remove icons are smaller and subdued. The current item has an accent play marker and a subtle rounded highlight. Full filenames and paths remain available in row tooltips.
Queue rows show a medium-weight, two-line filename without its extension, with a smaller format label beneath it. Rows have a 56-point minimum height, 8-point internal padding and 8-point horizontal outer insets without the native sidebar style's extra margins; leading and remove icons are smaller and subdued. The current item has an accent play marker and a subtle rounded highlight. Full filenames and paths remain available in row tooltips.
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.
+1 -1
View File
@@ -2349,7 +2349,7 @@ private struct PlayerContent: View {
}
.onMove { model.moveQueueItems(fromOffsets: $0, toOffset: $1) }
}
.listStyle(.sidebar)
.listStyle(.plain)
.contentMargins(.horizontal, 0, for: .scrollContent)
.overlay {
if model.queue.items.isEmpty {
+1
View File
@@ -5,5 +5,6 @@
- [x] add session-only local-file playlist support
- multi-file Open/Finder/drop, natural filename order, editable queue sidebar, explicit append, previous/next and automatic advance; Cast navigation retains the receiver; UI/drag-drop and physical-Cast verification remain unverified
- [ ] make sure the `make install` command installs the application (i can't find it in spotlight)
- [ ] takes an awfully long time seek in local videos which i find weird, since seeking in streamed youtube videos is pretty much instant
- [ ] in the "choose what to play" screen, we should change the youtube button to general streaming
- we can figure out the stream and how to handle it from the url (i.e. if youtube url, handle as youtube stream; if miruro url, handle accordingly)