switch order

This commit is contained in:
Mario 2020-11-06 10:27:58 +01:00
parent b1b80f8af0
commit 0cba423749

View File

@ -122,13 +122,13 @@ Blockly.Blocks['sensebox_send_lora_sensor_value'] = {
Blockly.Blocks['sensebox_lora_ttn_mapper'] = {
init: function (block) {
this.setColour(getColour().sensebox);
this.appendDummyInput()
.appendField("TTN Mapper");
this.appendDummyInput()
.setAlign(Blockly.ALIGN_RIGHT)
.appendField("Fix Type Limit")
.appendField(new Blockly.FieldDropdown([["0", "0"], ["1", "1"], ["2", "2"], ["3", "3"]].reverse()), "dropdown")
.appendField(new Blockly.FieldDropdown([["0", "0"], ["1", "1"], ["2", "2"], ["3", "3"]].reverse()), "dropdown");
// reverse() because i want 3 be be at first and i'm to lazy to write the array again
this.appendDummyInput()
.appendField("TTN Mapper")
this.appendValueInput('Latitude')
.appendField('Latitude')
.setCheck(null);