mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 12:27:17 +00:00
Blending style bugfix (wrong limit)
SoundSim bugfix (missing options)
This commit is contained in:
parent
b64cd36468
commit
64a02b705a
@ -807,6 +807,8 @@ function populateSegments(s)
|
||||
`<div class="sel-p"><select class="sel-p" id="seg${i}si" onchange="setSi(${i})">`+
|
||||
`<option value="0" ${inst.si==0?' selected':''}>BeatSin</option>`+
|
||||
`<option value="1" ${inst.si==1?' selected':''}>WeWillRockYou</option>`+
|
||||
`<option value="2" ${inst.si==2?' selected':''}>10/13</option>`+
|
||||
`<option value="3" ${inst.si==3?' selected':''}>14/3</option>`+
|
||||
`</select></div>`+
|
||||
`</div>`;
|
||||
cn += `<div class="seg lstI ${i==s.mainseg && !simplifiedUI ? 'selected' : ''} ${exp ? "expanded":""}" id="seg${i}" data-set="${inst.set}">`+
|
||||
|
@ -338,7 +338,7 @@ bool deserializeState(JsonObject root, byte callMode, byte presetId)
|
||||
|
||||
#ifndef WLED_DISABLE_MODE_BLEND
|
||||
blendingStyle = root[F("bs")] | blendingStyle;
|
||||
blendingStyle = constrain(blendingStyle, 0, BLEND_STYLE_COUNT-1);
|
||||
blendingStyle &= 0x1F;
|
||||
#endif
|
||||
|
||||
// temporary transition (applies only once)
|
||||
|
Loading…
x
Reference in New Issue
Block a user