Skip to content

Commit

Permalink
Design changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HThuren committed Jul 5, 2024
1 parent 9295675 commit 569b4c9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2311,10 +2311,6 @@
"auxiliaryToggleUnused": {
"message": "Hide unused modes"
},
"auxiliaryFilterCategory": {
"message": "Category",
"descripton": "Category for Flight modes"
},
"auxiliaryMin": {
"message": "Min"
},
Expand Down
1 change: 1 addition & 0 deletions src/css/tabs/auxiliary.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
.auxiliary_category_select_value {
width: 100%;
margin-bottom: 10px;
margin-top: 10px;
}
.range {
.marker {
Expand Down
3 changes: 2 additions & 1 deletion src/js/tabs/auxiliary.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const categoryTable = [
{ name: 'VTX', buildKey: ['vtx'], modes: ['STICK COMMANDS DISABLE', 'VTX CONTROL DISABLE', 'VTX PIT MODE']},
];

let notSorted = true;
let hideUnusedModes = false;
let modeList = [];

Expand Down Expand Up @@ -127,9 +126,11 @@ function createCategorySelect(table, map) {
categorySelect.append(`<option value="${value.name}">${value.name}</option>`);
}
}
/*
else {
categorySelect.append(`<option value="${value.name}" disabled="disabled">${value.name}</option>`);
}
*/
}

const modeWidth = 125;
Expand Down
3 changes: 0 additions & 3 deletions src/tabs/auxiliary.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<div class="auxiliary_category">
<div id="auxiliary_category_content">
<div class="auxiliary_filter_row">
<div>
<div class="auxiliary_category_header" i18n="auxiliaryFilterCategory"></div>
</div>
<div class="auxiliary_category_select_value">
<select id="auxiliary_category_list" multiple="multiple" class="auxiliary_category_select"></select>
</div>
Expand Down

0 comments on commit 569b4c9

Please sign in to comment.