Skip to content

Commit 9b3cd8f

Browse files
authored
actually, use output to prevent cat blocks
1 parent 29d1e8b commit 9b3cd8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/mutator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Blockly.Mutator.prototype.setVisible = function(visible) {
267267
this.rootBlock_.setOutputShape(Blockly.OUTPUT_SHAPE_SQUARE);
268268
this.rootBlock_.setOutput(true, "normal");
269269
this.rootBlock_.setPreviousStatement(false);
270-
this.rootBlock_.startHat_ = false;
270+
this.rootBlock_.output_ = true;
271271

272272
// fixup checkbox colors
273273
for (const input of this.rootBlock_.inputList) {

0 commit comments

Comments
 (0)