fix: truncate normal window titles at the end

This commit is contained in:
2026-10-18 16:12:59 +02:00
parent ffef863277
commit 126adc925f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ Open one or more local files with **⌘O**, drag them onto the video, or use Fin
| Close media | ⇧⌘W | | Close media | ⇧⌘W |
| Quit | Q or ⌘Q | | Quit | Q or ⌘Q |
Compact mode keeps playback in the same floating window; drag to move it and double-click to restore. The titlebar pin keeps the normal window on top. macOS media keys also control playback; previous/next seek five seconds rather than changing tracks. Compact mode keeps playback in the same floating window; drag to move it and double-click to restore. Long window titles truncate at the end in both normal and compact mode; hover the title to see the full name. The titlebar pin keeps the normal window on top. macOS media keys also control playback; previous/next seek five seconds rather than changing tracks.
Drag the video or unused playback background to move the window, including with the queue open. A single video click hides the controls; double-click toggles fullscreen. Playback controls stay anchored at the bottom center of the video and cannot be dragged. Native window edges remain available for resizing; the open queue allows free resizing with letterboxed video. Drag the video or unused playback background to move the window, including with the queue open. A single video click hides the controls; double-click toggles fullscreen. Playback controls stay anchored at the bottom center of the video and cannot be dragged. Native window edges remain available for resizing; the open queue allows free resizing with letterboxed video.
+1 -1
View File
@@ -2076,7 +2076,7 @@ private struct PlayerContent: View {
Text(model.fileName ?? "terebi") Text(model.fileName ?? "terebi")
.font(.system(size: 13, weight: .semibold)) .font(.system(size: 13, weight: .semibold))
.lineLimit(1) .lineLimit(1)
.truncationMode(.middle) .truncationMode(.tail)
.help(model.fileName ?? "terebi") .help(model.fileName ?? "terebi")
} }
.padding(.horizontal, 8) .padding(.horizontal, 8)