取消显示字符串的字符检查
This commit is contained in:
@@ -28,7 +28,6 @@ export const display_show_image_or_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.OLED_DRAWSTR);
|
||||
this.appendValueInput("space")
|
||||
.setCheck(Number)
|
||||
@@ -54,7 +53,6 @@ export const display_scroll_string = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.MIXLY_MICROBIT_JS_MONITOR_SCROLL_STRING);
|
||||
this.setPreviousStatement(true, null);
|
||||
this.setNextStatement(true, null);
|
||||
@@ -97,7 +95,6 @@ export const onboard_tft_scroll_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.MIXLY_MICROBIT_JS_MONITOR_SCROLL_STRING);
|
||||
this.appendValueInput("y")
|
||||
.setCheck(Number)
|
||||
@@ -601,7 +598,6 @@ export const onboard_oled_show_image_or_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.OLED_DRAWSTR);
|
||||
this.appendValueInput("x")
|
||||
.setCheck(Number)
|
||||
@@ -632,7 +628,6 @@ export const onboard_oled_scroll_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.MIXLY_MICROBIT_JS_MONITOR_SCROLL_STRING);
|
||||
this.appendValueInput("y")
|
||||
.setCheck(Number)
|
||||
@@ -657,7 +652,6 @@ export const onboard_oled_show_frame_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.MIXLY_ESP32_MONITOR_SHOW_FRAME);
|
||||
this.appendValueInput("size")
|
||||
.setCheck(Number)
|
||||
@@ -1137,7 +1131,6 @@ export const onboard_tft_show_image_or_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.OLED_DRAWSTR);
|
||||
this.appendValueInput("x")
|
||||
.setCheck(Number)
|
||||
@@ -1175,7 +1168,6 @@ export const onboard_tft_show_frame_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendValueInput('data')
|
||||
.setCheck(String)
|
||||
.appendField(Blockly.Msg.MIXLY_ESP32_MONITOR_SHOW_FRAME);
|
||||
this.appendValueInput("size")
|
||||
.setCheck(Number)
|
||||
|
||||
Reference in New Issue
Block a user