|
@@ -212,13 +212,6 @@ export default {
|
|
|
|
|
|
Blockly.Blocks["iot_lcd_trunLeftinit"] = {
|
|
|
init: function () {
|
|
|
- this.appendDummyInput().appendField(
|
|
|
- new Blockly.FieldImage(
|
|
|
- require("../assets/img/screen_init_header.png"),
|
|
|
- 45,
|
|
|
- 45
|
|
|
- )
|
|
|
- );
|
|
|
this.appendDummyInput().appendField("向左移动");
|
|
|
this.setInputsInline(false);
|
|
|
this.setPreviousStatement(true);
|
|
@@ -236,13 +229,6 @@ export default {
|
|
|
|
|
|
Blockly.Blocks["iot_lcd_trunRightinit"] = {
|
|
|
init: function () {
|
|
|
- this.appendDummyInput().appendField(
|
|
|
- new Blockly.FieldImage(
|
|
|
- require("../assets/img/screen_init_header.png"),
|
|
|
- 45,
|
|
|
- 45
|
|
|
- )
|
|
|
- );
|
|
|
this.appendDummyInput().appendField("向右移动");
|
|
|
this.setInputsInline(false);
|
|
|
this.setPreviousStatement(true);
|