mirror of
https://github.com/wled/WLED.git
synced 2025-07-10 04:16:36 +00:00
Only Effect Search should stay on top
This commit is contained in:
parent
e4ec65622f
commit
029403ea10
@ -3046,11 +3046,13 @@ function simplifyUI() {
|
|||||||
// Chage height of palette list
|
// Chage height of palette list
|
||||||
gId("pallist").style.height = "300px";
|
gId("pallist").style.height = "300px";
|
||||||
gId("pallist").style.overflow = "scroll";
|
gId("pallist").style.overflow = "scroll";
|
||||||
// fix shadow
|
// Fix shadow
|
||||||
gId("pallist").style.margin = "0px -16px";
|
gId("pallist").style.margin = "0px -16px";
|
||||||
gId("pallist").style.padding = "0px 16px";
|
gId("pallist").style.padding = "0px 16px";
|
||||||
// set correct position of selected and sticky palette
|
// Set correct position of selected and sticky palette
|
||||||
gId("pallist").classList.add("simplified");
|
gId("pallist").classList.add("simplified");
|
||||||
|
// We only want Effect Search to stay on top
|
||||||
|
gId("palw").firstElementChild.classList.remove("staytop");
|
||||||
|
|
||||||
// Hide filter options
|
// Hide filter options
|
||||||
gId("filters").style.display = "none";
|
gId("filters").style.display = "none";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user