Possible fix for #3541

This commit is contained in:
Blaz Kristan
2023-11-28 10:42:18 +01:00
parent c3e937f5e0
commit f66b343edd
9 changed files with 44 additions and 46 deletions

View File

@@ -362,6 +362,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
CJSON(modeBlending, light_tr["fx"]);
int tdd = light_tr["dur"] | -1;
if (tdd >= 0) transitionDelay = transitionDelayDefault = tdd * 100;
strip.setTransition(fadeTransition ? transitionDelayDefault : 0);
CJSON(strip.paletteFade, light_tr["pal"]);
CJSON(randomPaletteChangeTime, light_tr[F("rpc")]);