wait for result
This commit is contained in:
parent
86d213e721
commit
37d5fdcd9b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ async function complex(config) {
|
||||||
const tmpConfig = JSON.parse(JSON.stringify(config));
|
const tmpConfig = JSON.parse(JSON.stringify(config));
|
||||||
await singleAnimation(tmpConfig, indices[index]);
|
await singleAnimation(tmpConfig, indices[index]);
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
config = setColorIfRandom(config);
|
config = await setColorIfRandom(config);
|
||||||
}
|
}
|
||||||
config.repetitions.done++;
|
config.repetitions.done++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue