mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 21:36:17 +00:00
remove geometryreader
This commit is contained in:
@@ -11,10 +11,9 @@ struct ShaderTestingView: View {
|
|||||||
@State private var start = Date.now
|
@State private var start = Date.now
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
GeometryReader { geo in
|
|
||||||
TimelineView(.animation) { tl in
|
TimelineView(.animation) { tl in
|
||||||
ZStack {
|
|
||||||
let time = start.distance(to: tl.date)
|
let time = start.distance(to: tl.date)
|
||||||
|
ZStack {
|
||||||
VStack {
|
VStack {
|
||||||
HStack {
|
HStack {
|
||||||
Image(systemName: "figure.walk.circle")
|
Image(systemName: "figure.walk.circle")
|
||||||
@@ -78,7 +77,6 @@ struct ShaderTestingView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#Preview {
|
#Preview {
|
||||||
|
|||||||
@@ -54,9 +54,12 @@ struct AboutView: View {
|
|||||||
NavigationLink {
|
NavigationLink {
|
||||||
ShaderTestingView()
|
ShaderTestingView()
|
||||||
} label: {
|
} label: {
|
||||||
|
VStack {
|
||||||
Text("Shader Playground")
|
Text("Shader Playground")
|
||||||
.bold()
|
.bold()
|
||||||
Text("This is a collection of all the shaders I made while learning!")
|
Text("This is a collection of all the shaders I made while learning!")
|
||||||
|
.font(.caption2)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.transition(.scale)
|
.transition(.scale)
|
||||||
|
|||||||
Reference in New Issue
Block a user