|
|
@ -649,12 +649,16 @@ export function trigger_transitions(transitions, target_direction, from) {
|
|
|
|
mark_subtree_inert(effect, false);
|
|
|
|
mark_subtree_inert(effect, false);
|
|
|
|
} else if (target_direction === 'key') {
|
|
|
|
} else if (target_direction === 'key') {
|
|
|
|
if (direction === 'key') {
|
|
|
|
if (direction === 'key') {
|
|
|
|
transition.p = transition.i(/** @type {DOMRect} */ (from));
|
|
|
|
if (!transition.p) {
|
|
|
|
|
|
|
|
transition.p = transition.i(/** @type {DOMRect} */ (from));
|
|
|
|
|
|
|
|
}
|
|
|
|
transition.in();
|
|
|
|
transition.in();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (direction === 'out' || direction === 'both') {
|
|
|
|
if (direction === 'out' || direction === 'both') {
|
|
|
|
transition.p = transition.i();
|
|
|
|
if (!transition.p) {
|
|
|
|
|
|
|
|
transition.p = transition.i();
|
|
|
|
|
|
|
|
}
|
|
|
|
outros.push(transition.o);
|
|
|
|
outros.push(transition.o);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
transition.d.inert = true;
|
|
|
|
transition.d.inert = true;
|
|
|
|