v2 #1

Open
kamil wants to merge 231 commits from v2 into main
Showing only changes of commit 1e85f1c0bc - Show all commits

View File

@@ -29,7 +29,7 @@ struct MiniPlayerView: View {
.frame(width: max(0, geo.size.width * (isSeeking ? seekProgress : progress)))
}
.contentShape(Rectangle())
.gesture(
.highPriorityGesture(
DragGesture(minimumDistance: 0)
.onChanged { value in
isSeeking = true
@@ -165,6 +165,8 @@ struct MiniPlayerView: View {
}
.padding(.horizontal, 20)
.padding(.vertical, 12)
// Block interaction with content layer from affecting progress bar
.allowsHitTesting(true)
}
.background(
// Dark rounded background (pill-shaped with full circular ends)