try to load model on click

This commit is contained in:
Михаил Капелько committed 2026-10-19 18:25:35 +03:00
1 parent 5c93de7764
commit cc29a5fc93
5 files changed
+22 -9

No files matched your search

+3
View File
@@ -8,6 +8,7 @@ RenderContext:
type: context
fields:
backingPixelSize: [Int32]
didClickIncrement: Bool
didLaunch: Bool
didSetup: Bool
isReadyToRender: Bool
@@ -18,6 +19,7 @@ RenderContext:
RenderComponent:
type: component
oneliners:
- didClickIncrement: renderLoadCubeModel()
- isReadyToRender: print("ИГР isRTR: '\(c.isReadyToRender)'")
- pixelSize: RenderVM.shared!.pixelSize = c.pixelSize
- willPrepareGLContext: renderStartTimer(RenderVM.shared!)
@@ -50,6 +52,7 @@ RootComponent:
type: component
oneliners:
- countText: RootVM.shared!.countText = c.countText
- didClickIncrement: renderSet(F.didClickIncrement, true)
shoulds:
count:
1. Upon hitting 10 the first time: