Cycling {strobe -> off -> ramp} doesn't maintain and restore channel_mode (tint mix) during smooth_steps.
Steps to reproduce, for example on a 2-channel light with ramp using default CM_BLEND of both channels and default USE_SMOOTH_STEPS enabled:
Set strobe-mode candle to CM_CH1 only (repeat 3C until set for a single emitter channel)
Enjoy your candle (0C)
Turn off candle (1C). Observe unpleasant activation of second emitter channel during fade animation to off.
Without the additional restoration of ramp's channel_mode during event == EV_tick, the channel_mode can be incorrect during smooth animation to on, jumping to correct at animation end.
Cycling {strobe -> off -> ramp} doesn't maintain and restore channel_mode (tint mix) during smooth_steps.
Steps to reproduce, for example on a 2-channel light with ramp using default CM_BLEND of both channels and default USE_SMOOTH_STEPS enabled:
Without the additional restoration of ramp's channel_mode during
event == EV_tick
, the channel_mode can be incorrect during smooth animation to on, jumping to correct at animation end.Fixed by #63