fix(boards): 修复skulpt turtle下stamp方法报错
This commit is contained in:
@@ -875,3 +875,15 @@ export const turtle_screen_savefig = {
|
||||
}
|
||||
};
|
||||
|
||||
export const turtle_stamp = {
|
||||
init: function () {
|
||||
this.setColour(TURTLE_HUE);
|
||||
this.appendValueInput('TUR')
|
||||
.setCheck('Turtle')
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.TURTLE_STAMP);
|
||||
this.setInputsInline(true);
|
||||
this.setPreviousStatement(true);
|
||||
this.setNextStatement(true);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user