Additional fix for transpose checkbox.
This commit is contained in:
parent
6802f5a802
commit
4f3de8646a
@ -1044,7 +1044,7 @@ function updateLen(s)
|
|||||||
let tPL = gId(`seg${s}lbtm`);
|
let tPL = gId(`seg${s}lbtm`);
|
||||||
if (stop-start>1 && stopY-startY>1) {
|
if (stop-start>1 && stopY-startY>1) {
|
||||||
// 2D segment
|
// 2D segment
|
||||||
tPL.classList.remove("hide"); // unhide transpose checkbox
|
if (tPL) tPL.classList.remove("hide"); // unhide transpose checkbox
|
||||||
let sE = gId('fxlist').querySelector(`.lstI[data-id="${selectedFx}"]`);
|
let sE = gId('fxlist').querySelector(`.lstI[data-id="${selectedFx}"]`);
|
||||||
if (sE) {
|
if (sE) {
|
||||||
let sN = sE.querySelector(".lstIname").innerText;
|
let sN = sE.querySelector(".lstIname").innerText;
|
||||||
@ -1056,8 +1056,10 @@ function updateLen(s)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// 1D segment in 2D set-up
|
// 1D segment in 2D set-up
|
||||||
tPL.classList.add("hide"); // hide transpose checkbox
|
if (tPL) {
|
||||||
gId(`seg${s}tp`).checked = false; // and uncheck it
|
tPL.classList.add("hide"); // hide transpose checkbox
|
||||||
|
gId(`seg${s}tp`).checked = false; // and uncheck it
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var out = "(delete)";
|
var out = "(delete)";
|
||||||
|
3681
wled00/html_ui.h
3681
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user