Skip to content

Commit 8f30f1f

Browse files
authored
Blocks/operators.js -- dont do flyout stuff here either, do it in xml
1 parent 26e0728 commit 8f30f1f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

blocks_vertical/operators.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -687,13 +687,6 @@ Blockly.Blocks['operator_expandablejoininputs'] = {
687687
this.messageList = ["apple", "banana", "pear", "orange", "mango", "strawberry", "pineapple", "grape", "kiwi"];
688688
this.inputs_ = 2;
689689
this.oldInputs_ = null;
690-
if (this.isInFlyout) queueMicrotask(() => {
691-
for (let i = 0; i < this.inputs_; i++) {
692-
const input = this.appendValueInput(`INPUT${i + 1}`);
693-
const text = this.messageList[i];
694-
this.fillInBlock(input.connection, "text", text ? text : "...", "TEXT");
695-
}
696-
})
697690
},
698691

699692
fillInBlock: Blockly.scratchBlocksUtils.generateMutatorShadow,

0 commit comments

Comments
 (0)