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