fix variable type in block

This commit is contained in:
Mario Pesch 2023-01-10 11:43:21 +01:00
parent a0bc371bdd
commit fb9e5c53ff

View File

@ -10,7 +10,7 @@ Blockly.Blocks["variables_set_dynamic"] = {
this.setNextStatement(true, null); this.setNextStatement(true, null);
this.appendValueInput("VALUE") this.appendValueInput("VALUE")
.appendField(Blockly.Msg.variables_set, Blockly.Msg.variables_set) .appendField(Blockly.Msg.variables_set, Blockly.Msg.variables_set)
// .appendField("", "type") .appendField("", "type")
.appendField(new Blockly.FieldVariable("VAR"), "VAR") .appendField(new Blockly.FieldVariable("VAR"), "VAR")
.appendField(Blockly.Msg.variables_to); .appendField(Blockly.Msg.variables_to);
}, },