fix: top-align compact progress decimal
This commit is contained in:
@@ -1833,7 +1833,7 @@ private struct PlayerContent: View {
|
||||
.frame(minWidth: 0, maxWidth: constrained ? .infinity : nil, alignment: .leading)
|
||||
.clipped()
|
||||
if let progress {
|
||||
HStack(alignment: .center, spacing: 0) {
|
||||
HStack(alignment: .top, spacing: 0) {
|
||||
if model.compactTitleProgress == .percentage, let decimal = progress.firstIndex(of: ".") {
|
||||
Text(" · \(progress[..<decimal])")
|
||||
Text(String(progress[decimal...]))
|
||||
|
||||
Reference in New Issue
Block a user