recalc
This commit is contained in:
1 parent
0da8bfcfa2
commit
30476a880d
5 files changed
+69
-25
No files matched your search
+9
-2
@@ -7,11 +7,12 @@ output:
|
||||
RenderContext:
|
||||
type: context
|
||||
fields:
|
||||
didChangeBacking: Bool
|
||||
didLaunch: Bool
|
||||
didReshape: Bool
|
||||
didSetup: Bool
|
||||
isReadyToRender: Bool
|
||||
pixelHeight: Int
|
||||
pixelWidth: Int
|
||||
pixelSize: [Int32]
|
||||
|
||||
RenderComponent:
|
||||
type: component
|
||||
@@ -25,6 +26,12 @@ RenderComponent:
|
||||
c.didLaunch == false
|
||||
then:
|
||||
c.didLaunch = true
|
||||
pixelSize:
|
||||
1. Upon launch:
|
||||
if:
|
||||
c.recentField == F.didLaunch
|
||||
then:
|
||||
c.pixelSize = [1, 1]
|
||||
|
||||
RootComponent:
|
||||
type: component
|
||||
|
||||
Reference in new issue
Block a user