Skip to content

Commit dad8bbf

Browse files
committed
Design changes
1 parent ff7551c commit dad8bbf

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

locales/en/messages.json

-4
Original file line numberDiff line numberDiff line change
@@ -2311,10 +2311,6 @@
23112311
"auxiliaryToggleUnused": {
23122312
"message": "Hide unused modes"
23132313
},
2314-
"auxiliaryFilterCategory": {
2315-
"message": "Category",
2316-
"descripton": "Category for Flight modes"
2317-
},
23182314
"auxiliaryMin": {
23192315
"message": "Min"
23202316
},

src/css/tabs/auxiliary.less

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
.auxiliary_category_select_value {
3434
width: 100%;
3535
margin-bottom: 10px;
36+
margin-top: 10px;
3637
}
3738
.range {
3839
.marker {

src/js/tabs/auxiliary.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const categoryTable = [
4646
{ name: 'VTX', buildKey: ['vtx'], modes: ['STICK COMMANDS DISABLE', 'VTX CONTROL DISABLE', 'VTX PIT MODE']},
4747
];
4848

49-
let notSorted = true;
5049
let hideUnusedModes = false;
5150
let modeList = [];
5251

@@ -127,9 +126,11 @@ function createCategorySelect(table, map) {
127126
categorySelect.append(`<option value="${value.name}">${value.name}</option>`);
128127
}
129128
}
129+
/*
130130
else {
131131
categorySelect.append(`<option value="${value.name}" disabled="disabled">${value.name}</option>`);
132132
}
133+
*/
133134
}
134135

135136
const modeWidth = 125;

src/tabs/auxiliary.html

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
<div class="auxiliary_category">
1717
<div id="auxiliary_category_content">
1818
<div class="auxiliary_filter_row">
19-
<div>
20-
<div class="auxiliary_category_header" i18n="auxiliaryFilterCategory"></div>
21-
</div>
2219
<div class="auxiliary_category_select_value">
2320
<select id="auxiliary_category_list" multiple="multiple" class="auxiliary_category_select"></select>
2421
</div>

0 commit comments

Comments
 (0)