update test

pull/7738/head
Richard Harris 6 years ago
parent d02ed7e130
commit f7a518f1af

@ -19,8 +19,10 @@ function create_fragment(ctx) {
function audio_timeupdate_handler() {
cancelAnimationFrame(audio_animationframe);
if (!audio.paused) audio_animationframe = raf(audio_timeupdate_handler);
if (!audio.paused) {
audio_animationframe = raf(audio_timeupdate_handler);
audio_updating = true;
}
ctx.audio_timeupdate_handler.call(audio);
}

Loading…
Cancel
Save