Skip to content

Commit 23c7270

Browse files
author
yuri-kiss
authored
Implement checkbox on the vm side (2/2)
1 parent 6c1860a commit 23c7270

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/compiler/irgen.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ class ScriptTreeGenerator {
177177
kind: 'constant',
178178
value: block.fields.TEXT.value
179179
};
180+
case 'checkbox':
181+
return {
182+
kind: 'constant',
183+
value: true
184+
};
180185

181186
case 'argument_reporter_string_number': {
182187
const name = block.fields.VALUE.value;

0 commit comments

Comments
 (0)