Optimisations.
This commit is contained in:
parent
37af48f3fb
commit
b637398a9c
@ -1322,6 +1322,7 @@ void WS2812FX::setSegment(uint8_t n, uint16_t i1, uint16_t i2, uint8_t grouping,
|
||||
// disabled segments should get removed using purgeSegments()
|
||||
DEBUG_PRINT(F("-- Segment ")); DEBUG_PRINT(n); DEBUG_PRINTLN(F(" marked inactive."));
|
||||
seg.stop = 0;
|
||||
seg.options = 0b0000000000000101; // on & selected
|
||||
//if (seg.name) {
|
||||
// delete[] seg.name;
|
||||
// seg.name = nullptr;
|
||||
|
@ -128,12 +128,13 @@ button {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.icons.on {
|
||||
color: var(--c-g);
|
||||
.on {
|
||||
color: var(--c-g) !important;
|
||||
}
|
||||
|
||||
.icons.off {
|
||||
color: var(--c-6);
|
||||
.off {
|
||||
color: var(--c-6) !important;
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.top .icons, .bot .icons {
|
||||
@ -981,7 +982,7 @@ textarea {
|
||||
|
||||
.segname, .pname {
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
/*cursor: pointer;*/
|
||||
text-align: center;
|
||||
overflow: clip;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -1690,9 +1690,9 @@ function makeSeg()
|
||||
|
||||
function resetUtil(off=false)
|
||||
{
|
||||
gId('segutil').innerHTML = '<div class="seg btn btn-s" style="border-radius:24px;padding:0;">'
|
||||
gId('segutil').innerHTML = `<div class="seg btn btn-s ${off?'off':''}" style="border-radius:24px;padding:0;">`
|
||||
+ '<label class="check schkl"><input type="checkbox" id="selall" onchange="selSegAll(this)"><span class="checkmark"></span></label>'
|
||||
+ `<div class="segname" ${off?'style="color:var(--c-6);"':'onclick="makeSeg()"'}><i class="icons btn-icon ${off?'off':''}"></i>Add segment</div></div>`;
|
||||
+ `<div class="segname" ${off?'':'onclick="makeSeg()"'}><i class="icons btn-icon"></i>Add segment</div></div>`;
|
||||
}
|
||||
|
||||
function makePlSel(el, incPl=false)
|
||||
|
3237
wled00/html_ui.h
3237
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
// version code in format yymmddb (b = daily build)
|
||||
#define VERSION 2212050
|
||||
#define VERSION 2212090
|
||||
|
||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||
//#define WLED_USE_MY_CONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user