mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 00:36:36 +00:00
moved segcont simplification to simplifyUI()
This commit is contained in:
parent
ce0d906c35
commit
db276d5f1f
@ -837,8 +837,6 @@ function populateSegments(s)
|
||||
}
|
||||
|
||||
gId('segcont').innerHTML = cn;
|
||||
if (simplifiedUI) gId('segcont').classList.add("simple");
|
||||
else gId('segcont').classList.remove("simple");
|
||||
let noNewSegs = (lowestUnused >= maxSeg);
|
||||
resetUtil(noNewSegs);
|
||||
if (gId('selall')) gId('selall').checked = true;
|
||||
@ -3081,6 +3079,9 @@ function simplifyUI() {
|
||||
// We only want Effect Search to stay on top
|
||||
gId("palw").firstElementChild.classList.remove("staytop");
|
||||
|
||||
// Simplify segments
|
||||
gId('segcont').classList.add("simple");
|
||||
|
||||
// Hide filter options
|
||||
gId("filters").style.display = "none";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user