From 15d84d847e981f7559054823f0bed3770b8ed376 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 25 Oct 2026 20:41:21 +0800 Subject: [PATCH] adjust nav wheel height. --- tg_test/WheelNavBar.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tg_test/WheelNavBar.swift b/tg_test/WheelNavBar.swift index 66c2612..ebbd1a2 100644 --- a/tg_test/WheelNavBar.swift +++ b/tg_test/WheelNavBar.swift @@ -35,7 +35,7 @@ struct WheelNavBar: View { Circle() .stroke(currentTab.color, lineWidth: 2.5) ) - .position(x: centerPoint, y: 32) + .position(x: centerPoint, y: 36) .shadow(color: currentTab.color.opacity(0.4), radius: 10) // Rotary Wheel Items @@ -82,7 +82,7 @@ struct WheelNavBar: View { axis: (x: 0.0, y: 1.0, z: 0.0), perspective: 0.5 ) - .position(x: centerPoint + xOffset, y: 32 + yOffset) + .position(x: centerPoint + xOffset, y: 36 + yOffset) .onTapGesture { withAnimation(.spring(response: 0.35, dampingFraction: 0.75)) { selectedIndex = tab.id @@ -92,7 +92,7 @@ struct WheelNavBar: View { } } } - .frame(height: 64) + .frame(height: 72) .contentShape(Rectangle()) .gesture( DragGesture() @@ -121,7 +121,7 @@ struct WheelNavBar: View { } ) } - .padding(.vertical, 6) + .padding(.vertical, 10) .background( RoundedRectangle(cornerRadius: 28, style: .continuous) .fill(.ultraThinMaterial)