adjust nav wheel height.
This commit is contained in:
parent
ad8a680b76
commit
15d84d847e
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue