Fixed preset only disabling on second effect/color change (fixes #2038 )

This commit is contained in:
cschwinne
2021-06-25 10:12:21 +02:00
parent 1e5420e6a7
commit 4cd3a614de
4 changed files with 6 additions and 5 deletions

View File

@@ -111,8 +111,7 @@ void colorUpdated(int callMode)
{
effectChanged = false;
if (realtimeTimeout == UINT32_MAX) realtimeTimeout = 0;
if (isPreset) {isPreset = false;}
else {currentPreset = -1;}
currentPreset = -1; //something changed, so we are no longer in the preset
notify(callMode);