From 23374e98ae10ed866a48b6fb39b21f6aa9a63736 Mon Sep 17 00:00:00 2001 From: Woody Date: Thu, 9 Nov 2023 18:15:04 +0100 Subject: [PATCH] Added preset quick load before palette list --- wled00/data/simple.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wled00/data/simple.js b/wled00/data/simple.js index 417626b21..16c0115d0 100644 --- a/wled00/data/simple.js +++ b/wled00/data/simple.js @@ -66,6 +66,9 @@ function simplifyUI(doc) { // Put effects below palett list gId("Colors").innerHTML += gId("Effects").innerHTML; + // Put preset quick load before palette list + gId("Colors").insertBefore(gId("pql"), gId("pall")); + // Hide buttons in top bar gId("buttonNl").style.display = "none"; gId("buttonSync").style.display = "none"; @@ -115,5 +118,4 @@ function finalizeSimpleUI() { // set correct position of selected and sticky palette Array.from(document.styleSheets[0].cssRules).find(rule => rule.selectorText == "#pallist .lstI.sticky").style.top = "0px"; Array.from(document.styleSheets[0].cssRules).find(rule => rule.selectorText == "#pallist .lstI.selected").style.top = "42px"; - }