mirror of
https://github.com/wled/WLED.git
synced 2025-07-15 06:46:34 +00:00
Fix width issue with simplified UI due to desktop mode leftovers
This commit is contained in:
parent
cff42b5d27
commit
bd620a764d
@ -2970,7 +2970,7 @@ function togglePcMode(fromB = false)
|
|||||||
gId('buttonPcm').className = (pcMode) ? "active":"";
|
gId('buttonPcm').className = (pcMode) ? "active":"";
|
||||||
gId('bot').style.height = (pcMode && !cfg.comp.pcmbot) ? "0":"auto";
|
gId('bot').style.height = (pcMode && !cfg.comp.pcmbot) ? "0":"auto";
|
||||||
sCol('--bh', gId('bot').clientHeight + "px");
|
sCol('--bh', gId('bot').clientHeight + "px");
|
||||||
_C.style.width = (pcMode)?'100%':'400%';
|
_C.style.width = (pcMode || simplifiedUI)?'100%':'400%';
|
||||||
}
|
}
|
||||||
|
|
||||||
function mergeDeep(target, ...sources)
|
function mergeDeep(target, ...sources)
|
||||||
@ -3029,6 +3029,7 @@ function tooltip()
|
|||||||
function simplifyUI() {
|
function simplifyUI() {
|
||||||
// Disable PC Mode as it does not exist in simple UI
|
// Disable PC Mode as it does not exist in simple UI
|
||||||
if (pcMode) togglePcMode(true);
|
if (pcMode) togglePcMode(true);
|
||||||
|
_C.style.width = '100%'
|
||||||
_C.style.setProperty('--n', 1);
|
_C.style.setProperty('--n', 1);
|
||||||
|
|
||||||
// Put effects below palett list
|
// Put effects below palett list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user