Merge pull request #228 from sensebox/fix-variable-type

fix variable type in block
This commit is contained in:
Mario Pesch 2023-01-10 11:51:23 +01:00 committed by GitHub
commit d1b3761349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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