fix: top-align compact progress decimal

This commit is contained in:
2026-10-17 18:56:53 +02:00
parent 3368228537
commit f49eb6d084
+1 -1
View File
@@ -1833,7 +1833,7 @@ private struct PlayerContent: View {
.frame(minWidth: 0, maxWidth: constrained ? .infinity : nil, alignment: .leading) .frame(minWidth: 0, maxWidth: constrained ? .infinity : nil, alignment: .leading)
.clipped() .clipped()
if let progress { if let progress {
HStack(alignment: .center, spacing: 0) { HStack(alignment: .top, spacing: 0) {
if model.compactTitleProgress == .percentage, let decimal = progress.firstIndex(of: ".") { if model.compactTitleProgress == .percentage, let decimal = progress.firstIndex(of: ".") {
Text(" · \(progress[..<decimal])") Text(" · \(progress[..<decimal])")
Text(String(progress[decimal...])) Text(String(progress[decimal...]))