kopia lustrzana https://github.com/Aircoookie/WLED
Only Effect Search should stay on top
rodzic
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";
|
||||||
|
|
Ładowanie…
Reference in New Issue