fix: move speed controls into tab bar area (tab bar hidden during scroll)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -117,7 +117,7 @@ struct MainTabView: View {
|
|||||||
.padding(.vertical, 10)
|
.padding(.vertical, 10)
|
||||||
.background(.regularMaterial, in: Capsule())
|
.background(.regularMaterial, in: Capsule())
|
||||||
.shadow(color: .black.opacity(0.15), radius: 12, y: 4)
|
.shadow(color: .black.opacity(0.15), radius: 12, y: 4)
|
||||||
.padding(.bottom, 8)
|
.padding(.bottom, -40)
|
||||||
.transition(.move(edge: .bottom).combined(with: .opacity))
|
.transition(.move(edge: .bottom).combined(with: .opacity))
|
||||||
}
|
}
|
||||||
.animation(.spring(duration: 0.3), value: isAutoScrolling)
|
.animation(.spring(duration: 0.3), value: isAutoScrolling)
|
||||||
|
|||||||
Reference in New Issue
Block a user