File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ Blockly.Blocks['operator_expandableMath'] = {
228228 const menu = input . appendField ( this . menuGenerator ( ) ) ;
229229 menu . fieldRow [ 0 ] . setValue ( menuValues [ i - 1 ] ? menuValues [ i - 1 ] : "+" , true ) ;
230230 }
231- this . fillInBlock ( input . connection , "math_number" ) ;
231+ // vm will automatically replace empty inputs with saved shadows
232232 }
233233 this . oldInputs_ = this . inputs_ ;
234234 } ,
@@ -702,9 +702,8 @@ Blockly.Blocks['operator_expandablejoininputs'] = {
702702 const inputCount = Number ( xmlElement . getAttribute ( "inputcount" ) ) ;
703703 this . inputs_ = isNaN ( inputCount ) ? 0 : inputCount ;
704704 for ( let i = 0 ; i < this . inputs_ ; i ++ ) {
705- const input = this . appendValueInput ( `INPUT${ i + 1 } ` ) ;
706- const text = this . messageList [ i ] ;
707- this . fillInBlock ( input . connection , "text" , text ? text : "..." , "TEXT" ) ;
705+ // vm will automatically replace empty inputs with saved shadows
706+ this . appendValueInput ( `INPUT${ i + 1 } ` ) ;
708707 }
709708 this . oldInputs_ = this . inputs_ ;
710709 } ,
You can’t perform that action at this time.
0 commit comments