We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633a348 commit 1b3c372Copy full SHA for 1b3c372
1 file changed
blocks_vertical/control.js
@@ -264,6 +264,9 @@ Blockly.Blocks['control_expandableIf'] = {
264
if (prevText) prevText.appendField("if");
265
else this.appendDummyInput(`TEXTSTART${this.branches_}`).appendField("if");
266
const input = this.appendValueInput(`BOOL${this.branches_}`).setCheck("Boolean");
267
+ input.init();
268
+ input.initOutlinePath(this.svgGroup_);
269
+ input.outlinePath.setAttribute('fill', this.getColourTertiary());
270
if (shouldPopulate) this.fillInBlock(input.connection, "checkbox");
271
this.appendDummyInput(`TEXTEND${this.branches_}`).appendField("then");
272
0 commit comments