Fixed presets not triggering interface update
This commit is contained in:
parent
ed90b638a9
commit
c03d4f115f
@ -226,8 +226,10 @@ void deserializeSegment(JsonObject elem, byte it, byte presetId)
|
|||||||
} else if (!elem["frz"] && iarr.isNull()) { //return to regular effect
|
} else if (!elem["frz"] && iarr.isNull()) { //return to regular effect
|
||||||
seg.setOption(SEG_OPTION_FREEZE, false);
|
seg.setOption(SEG_OPTION_FREEZE, false);
|
||||||
}
|
}
|
||||||
//send UDP if not in preset and something changed that is not just selection
|
// send UDP if not in preset and something changed that is not just selection
|
||||||
if (!presetId && (seg.differs(prev) & 0x7F)) stateChanged = true;
|
//if (!presetId && (seg.differs(prev) & 0x7F)) stateChanged = true;
|
||||||
|
// send UDP if something changed that is not just selection
|
||||||
|
if (seg.differs(prev) & 0x7F) stateChanged = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user