diff --git a/src/components/Blockly/blocks/sensebox-lora.js b/src/components/Blockly/blocks/sensebox-lora.js index 17163cc..d167219 100644 --- a/src/components/Blockly/blocks/sensebox-lora.js +++ b/src/components/Blockly/blocks/sensebox-lora.js @@ -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);