pull/10798/head
Rich Harris 2 years ago
parent 865f526fa9
commit a218c6116d

@ -185,7 +185,9 @@ export function transition(flags, element, get_fn, get_params) {
const start_p = p;
const end_time = start_time + adjusted_duration;
// tick?.(p, 1 - p); // TODO put in nested effect, to avoid interleaved reads/writes?
if (p === 0) {
tick?.(p, 1 - p); // TODO put in nested effect, to avoid interleaved reads/writes?
}
current_task = loop((now) => {
if (now >= end_time) {

Loading…
Cancel
Save