增加CE 和MINI设置滚动显示的方向
This commit is contained in:
@@ -91,6 +91,23 @@ export const display_scroll_string_delay = {
|
||||
}
|
||||
};
|
||||
|
||||
export const display_scroll_way = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
this.appendDummyInput()
|
||||
.appendField(Blockly.Msg.MIXLY_SETTING + Blockly.Msg.MIXLY_DISPLAY_SCROLL_WAY)
|
||||
.appendField(new Blockly.FieldDropdown([
|
||||
[Blockly.Msg.MIXLY_GAME_UP,"0"],
|
||||
[Blockly.Msg.MIXLY_GAME_DOWN,"1"],
|
||||
[Blockly.Msg.MIXLY_GAME_RIGHT,"2"],
|
||||
[Blockly.Msg.MIXLY_GAME_LEFT,"3"]
|
||||
]),"way");;
|
||||
this.setPreviousStatement(true, null);
|
||||
this.setNextStatement(true, null);
|
||||
this.setInputsInline(true);
|
||||
}
|
||||
};
|
||||
|
||||
export const onboard_tft_scroll_string_delay = {
|
||||
init: function () {
|
||||
this.setColour(DISPLAY_ONBOARD_HUE);
|
||||
|
||||
Reference in New Issue
Block a user