|
@@ -686,9 +686,7 @@ Blockly.Python.ai_lcd_screen = function (block) {
|
|
|
Blockly.Blocks['ai_lcd_fill_screen_with_rgb'] = {
|
|
|
init: function () {
|
|
|
this.appendDummyInput()
|
|
|
- .appendField(Blockly.Msg.image_process_text_let_canvas)
|
|
|
- // .appendField(new Blockly.FieldVariable("canvas"), "varitem")
|
|
|
- .appendField(Blockly.Msg.image_process_text_let_canvas_filled_with_color);
|
|
|
+ .appendField(Blockly.Msg.image_process_text_let_canvas+Blockly.Msg.image_process_text_let_canvas_filled_with_color)
|
|
|
this.appendValueInput("rgb_value")
|
|
|
.setCheck(null)
|
|
|
.appendField("");
|
|
@@ -972,12 +970,12 @@ Blockly.Python.ai_lcd_createcarvas = function (block) {
|
|
|
|
|
|
Blockly.Blocks['ai_lcd_showcarvas_set_cord'] = {
|
|
|
init: function () {
|
|
|
- this.appendDummyInput()
|
|
|
- .appendField(Blockly.Msg.image_process_text_set_canvas_setup)
|
|
|
+ // this.appendDummyInput()
|
|
|
+ // .appendField(Blockly.Msg.image_process_text_set_canvas_setup)
|
|
|
// .appendField(new Blockly.FieldVariable("canvas"), "varitem");
|
|
|
this.appendValueInput("xy")
|
|
|
.setCheck(null)
|
|
|
- .appendField(Blockly.Msg.image_process_text_start_coord_as);
|
|
|
+ .appendField(Blockly.Msg.image_process_text_set_canvas_setup+Blockly.Msg.image_process_text_start_coord_as);
|
|
|
this.setInputsInline(true);
|
|
|
this.setPreviousStatement(true, null);
|
|
|
this.setNextStatement(true, null);
|