Only Effect Search should stay on top

This commit is contained in:
Woody 2023-11-14 21:52:17 +01:00
parent e4ec65622f
commit 029403ea10
No known key found for this signature in database
GPG Key ID: 9872D7F5072789B2

View File

@ -3046,11 +3046,13 @@ function simplifyUI() {
// Chage height of palette list
gId("pallist").style.height = "300px";
gId("pallist").style.overflow = "scroll";
// fix shadow
// Fix shadow
gId("pallist").style.margin = "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");
// We only want Effect Search to stay on top
gId("palw").firstElementChild.classList.remove("staytop");
// Hide filter options
gId("filters").style.display = "none";