WIP
This commit is contained in:
parent
5c6d940a5a
commit
0ecc2ee808
@ -34,7 +34,7 @@ $(async function () {
|
|||||||
let audio = await playAudio(music);
|
let audio = await playAudio(music);
|
||||||
node.style.opacity = 1;
|
node.style.opacity = 1;
|
||||||
nodeIm.style.opacity = 1;
|
nodeIm.style.opacity = 1;
|
||||||
await sleep(Math.max(audio.duration*1000 - 500,3000));
|
await sleep(Math.max(audio.duration*1000 - 1000,4000));
|
||||||
node.style.opacity = 0;
|
node.style.opacity = 0;
|
||||||
nodeIm.style.opacity = 0;
|
nodeIm.style.opacity = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user