Update from NavidromePlayer.zip (2026-04-03 19:44)

This commit is contained in:
Dallas Groot 2026-04-03 19:44:29 -07:00
parent 2ad70d3612
commit 2fb1f6c19a

View file

@ -32,6 +32,7 @@ struct MainTabView: View {
private let accentPink = Color(red: 1.0, green: 0.176, blue: 0.333)
var body: some View {
GeometryReader { rootGeo in
ZStack {
// Main tab content
ZStack(alignment: .bottom) {
@ -121,7 +122,7 @@ struct MainTabView: View {
}
.onEnded { value in
isDragging = false
let screenH = UIScreen.main.bounds.height
let screenH = rootGeo.size.height
let velocity = value.predictedEndTranslation.height
let dragPct = abs(value.translation.height) / screenH
@ -198,6 +199,7 @@ struct MainTabView: View {
}
}
}
} // GeometryReader
}
// MARK: - Debug Panel