Skip to content

Commit

Permalink
well ewrm that wont work
Browse files Browse the repository at this point in the history
  • Loading branch information
RedMan13 authored Apr 19, 2024
1 parent 3707e42 commit 16cd499
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,7 @@ Blockly.Block.prototype.appendInput_ = function(type, name, opt_defaultBlock) {
if (type == Blockly.INPUT_VALUE || type == Blockly.NEXT_STATEMENT) {
connection = this.makeConnection_(type);
}
/*
if (opt_defaultBlock) {
var newBlock = this.workspace.newBlock(opt_defaultBlock.type)
newBlock.initSvg()
Expand All @@ -1527,6 +1528,7 @@ Blockly.Block.prototype.appendInput_ = function(type, name, opt_defaultBlock) {
newBlock.outputConnection.connect(connection)
newBlock.render()
}
*/
var input = new Blockly.Input(type, name, this, connection);
// Append input to list.
this.inputList.push(input);
Expand Down

0 comments on commit 16cd499

Please sign in to comment.