remove geometryreader

This commit is contained in:
neon443
2025-08-28 21:01:39 +01:00
parent 18046d1208
commit dc01156d9c
2 changed files with 59 additions and 58 deletions

View File

@@ -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()

View File

@@ -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)