1 parent
1515a9483b
commit
fb28dd55c7
77 files changed
+1598
-543
No files matched your search
@@ -8,22 +8,17 @@ struct RootView: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
RaylibGLView()
|
||||
.ignoresSafeArea()
|
||||
VStack(spacing: 16) {
|
||||
Text("Hello, World!")
|
||||
.font(.largeTitle)
|
||||
|
||||
VStack(spacing: 16) {
|
||||
Text("Hello, World!")
|
||||
.font(.largeTitle)
|
||||
Text(vm.countText)
|
||||
.font(.title3.monospacedDigit())
|
||||
|
||||
Text(vm.countText)
|
||||
.font(.title3.monospacedDigit())
|
||||
|
||||
Button("Increment") {
|
||||
rootSet(F.didClickIncrement, true)
|
||||
}
|
||||
Button("Increment") {
|
||||
rootSet(F.didClickIncrement, true)
|
||||
}
|
||||
.padding(40)
|
||||
}
|
||||
.padding(40)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user