Update from NavidromePlayer.zip (2026-04-03 19:44)
This commit is contained in:
parent
2ad70d3612
commit
2fb1f6c19a
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue