From 569b4c9294d15eb9d4e74c21c7d51725f7f3e908 Mon Sep 17 00:00:00 2001 From: HThuren Date: Wed, 21 Feb 2024 20:44:48 +0100 Subject: [PATCH] Design changes --- locales/en/messages.json | 4 ---- src/css/tabs/auxiliary.less | 1 + src/js/tabs/auxiliary.js | 3 ++- src/tabs/auxiliary.html | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/locales/en/messages.json b/locales/en/messages.json index 957f5fd300..5b8c638e36 100755 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -2311,10 +2311,6 @@ "auxiliaryToggleUnused": { "message": "Hide unused modes" }, - "auxiliaryFilterCategory": { - "message": "Category", - "descripton": "Category for Flight modes" - }, "auxiliaryMin": { "message": "Min" }, diff --git a/src/css/tabs/auxiliary.less b/src/css/tabs/auxiliary.less index 87f2e5663d..bf5e24891a 100644 --- a/src/css/tabs/auxiliary.less +++ b/src/css/tabs/auxiliary.less @@ -33,6 +33,7 @@ .auxiliary_category_select_value { width: 100%; margin-bottom: 10px; + margin-top: 10px; } .range { .marker { diff --git a/src/js/tabs/auxiliary.js b/src/js/tabs/auxiliary.js index 9062dc235e..2a3ab5d611 100644 --- a/src/js/tabs/auxiliary.js +++ b/src/js/tabs/auxiliary.js @@ -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 = []; @@ -127,9 +126,11 @@ function createCategorySelect(table, map) { categorySelect.append(``); } } +/* else { categorySelect.append(``); } +*/ } const modeWidth = 125; diff --git a/src/tabs/auxiliary.html b/src/tabs/auxiliary.html index 8bd5457e87..3d589d147d 100644 --- a/src/tabs/auxiliary.html +++ b/src/tabs/auxiliary.html @@ -16,9 +16,6 @@
-
-
-