This commit is contained in:
Михаил Капелько committed 2026-10-17 11:20:21 +03:00
1 parent 55482633c4
commit 5646345322
10 files changed
+743 -197

No files matched your search

+13 -8
View File
@@ -8,17 +8,22 @@ struct RootView: View {
}
var body: some View {
VStack(spacing: 16) {
Text("Hello, World!")
.font(.largeTitle)
ZStack {
RaylibGLView()
.ignoresSafeArea()
Text(vm.countText)
.font(.title3.monospacedDigit())
VStack(spacing: 16) {
Text("Hello, World!")
.font(.largeTitle)
Button("Increment") {
rootSet(F.didClickIncrement, true)
Text(vm.countText)
.font(.title3.monospacedDigit())
Button("Increment") {
rootSet(F.didClickIncrement, true)
}
}
.padding(40)
}
.padding(40)
}
}