Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Sep 9, 2024
1 parent b65cd6a commit 375ae39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks_vertical/procedures.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,10 @@ Blockly.ScratchBlocks.ProcedureUtils.updateDisplay_ = function() {
this.setNextStatement(false)
switch (ConectionType) {
case 'string':
this.setOutputShape(Blockly.OUTPUT_SHAPE_ROUND);
this.setOutputShape(Blockly.OUTPUT_SHAPE_SQUARE);
this.setOutput(this.output_, this.isDisplayOnly ? 'procedure' : 'String')
break
//dont believe these two get used?
case 'number':
this.setOutputShape(Blockly.OUTPUT_SHAPE_ROUND);
this.setOutput(this.output_, this.isDisplayOnly ? 'procedure' : 'Number')
Expand Down Expand Up @@ -1012,7 +1013,6 @@ Blockly.Blocks['procedures_prototype'] = {
init: function() {
this.jsonInit({
"extensions": ["colours_more", 'shape_procedure'],
"outputShape": Blockly.OUTPUT_SHAPE_SQUARE,
});

/* Data known about the procedure. */
Expand Down

0 comments on commit 375ae39

Please sign in to comment.