We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214210f commit f756deaCopy full SHA for f756dea
1 file changed
blocks_vertical/procedures.js
@@ -700,7 +700,7 @@ Blockly.ScratchBlocks.ProcedureUtils.createArgumentEditor_ = function(
700
}
701
newBlock.setFieldValue(displayName, 'TEXT');
702
newBlock.setShadow(true);
703
- newBlock.setColour(...this.color);
+ if (argumentType === 'c') newBlock.setColour(...this.color);
704
if (!this.isInsertionMarker()) {
705
newBlock.initSvg();
706
newBlock.render(false);
0 commit comments