From 14fc64f2f132e14361aac6110512c0636e821628 Mon Sep 17 00:00:00 2001 From: Alerson Jorge Date: Fri, 20 Oct 2023 12:20:49 -0300 Subject: [PATCH] Fix Checkbox fixes added --- wled00/data/index.htm | 39 +- wled00/data/index.js | 25 +- wled00/html_ui.h | 2861 ++++++++++++++++++++--------------------- 3 files changed, 1460 insertions(+), 1465 deletions(-) diff --git a/wled00/data/index.htm b/wled00/data/index.htm index a87aced7..16161769 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -90,71 +90,62 @@
- +
- Hue
- +
- Saturation
- +
- Value/Brightness
- +
- Kelvin/Temperature
- +
- Red channel
- +
- Green channel
- +
- Blue channel
- +
- White channel
- +
- White balance
@@ -294,17 +285,17 @@
-
diff --git a/wled00/data/index.js b/wled00/data/index.js index 12e752e4..6b367819 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -1511,22 +1511,29 @@ function setEffectParameters(idx) if ((!controlDefined && i < ((idx < 128) ? 2 : nSliders)) || (slOnOff.length > i && slOnOff[i] != "")) { const newText = slOnOff.length > i && slOnOff[i] != "!" ? slOnOff[i] : text; tooltip.setAttribute("tooltip", newText); - slider.classList.remove('hide'); } else { slider.classList.add('hide'); } }); - if (slOnOff.length>5) { // up to 3 checkboxes + if (slOnOff.length > 5) { // up to 3 checkboxes gId('fxopt').classList.remove('fade'); - for (let i = 0; i<3; i++) { - if (5+i