switch order
This commit is contained in:
		
							parent
							
								
									b1b80f8af0
								
							
						
					
					
						commit
						0cba423749
					
				| @ -122,13 +122,13 @@ Blockly.Blocks['sensebox_send_lora_sensor_value'] = { | |||||||
| Blockly.Blocks['sensebox_lora_ttn_mapper'] = { | Blockly.Blocks['sensebox_lora_ttn_mapper'] = { | ||||||
|     init: function (block) { |     init: function (block) { | ||||||
|         this.setColour(getColour().sensebox); |         this.setColour(getColour().sensebox); | ||||||
|  |         this.appendDummyInput() | ||||||
|  |             .appendField("TTN Mapper"); | ||||||
|         this.appendDummyInput() |         this.appendDummyInput() | ||||||
|             .setAlign(Blockly.ALIGN_RIGHT) |             .setAlign(Blockly.ALIGN_RIGHT) | ||||||
|             .appendField("Fix Type Limit") |             .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
 |         // 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') |         this.appendValueInput('Latitude') | ||||||
|             .appendField('Latitude') |             .appendField('Latitude') | ||||||
|             .setCheck(null); |             .setCheck(null); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user