取消显示字符串的字符检查

This commit is contained in:
Irene-Maxine
2025-08-15 13:00:00 +08:00
parent 289b5ac8cb
commit 66f63deb68
2 changed files with 0 additions and 23 deletions

View File

@@ -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)