mirror of
https://github.com/wled/WLED.git
synced 2025-07-22 18:26:32 +00:00
Show brightness slider
This commit is contained in:
parent
40cc30e054
commit
63ad3f9290
@ -87,10 +87,6 @@ function simplifyUI(doc) {
|
|||||||
gId("pallist").style.height = "300px";
|
gId("pallist").style.height = "300px";
|
||||||
gId("pallist").style.overflow = "scroll";
|
gId("pallist").style.overflow = "scroll";
|
||||||
|
|
||||||
// set brightness to 255 and hide slider
|
|
||||||
gId("sliderBri").value = 255;
|
|
||||||
gId("briwrap").style.display = "none";
|
|
||||||
|
|
||||||
// Hide filter options
|
// Hide filter options
|
||||||
gId("filters").style.display = "none";
|
gId("filters").style.display = "none";
|
||||||
}
|
}
|
||||||
@ -99,8 +95,6 @@ function simplifyUI(doc) {
|
|||||||
function finalizeSimpleUI() {
|
function finalizeSimpleUI() {
|
||||||
// disable horizontal scrolling
|
// disable horizontal scrolling
|
||||||
simpleUI = true;
|
simpleUI = true;
|
||||||
// set brightness
|
|
||||||
setBri();
|
|
||||||
// set correct position of selected and sticky palette
|
// 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.sticky").style.top = "0px";
|
||||||
Array.from(document.styleSheets[0].cssRules).find(rule => rule.selectorText == "#pallist .lstI.selected").style.top = "42px";
|
Array.from(document.styleSheets[0].cssRules).find(rule => rule.selectorText == "#pallist .lstI.selected").style.top = "42px";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user