(masterTimeline: RuntimeTimelineLike)
| 2361 | // so the residual unpaused state is harmless — the next call re-activates |
| 2362 | // idempotently. |
| 2363 | const activateSiblingTimelines = (masterTimeline: RuntimeTimelineLike) => { |
| 2364 | const timelines = (window.__timelines ?? {}) as Record<string, RuntimeTimelineLike | undefined>; |
| 2365 | for (const tl of Object.values(timelines)) { |
| 2366 | if (!tl || tl === masterTimeline) continue; |
| 2367 | try { |
| 2368 | tl.play(); |
| 2369 | } catch (err) { |
| 2370 | swallow("runtime.init.activateSiblings", err); |
| 2371 | } |
| 2372 | } |
| 2373 | }; |
| 2374 | |
| 2375 | const seekTimelineAndAdapters = (t: number, opts?: { activateChildren?: boolean }) => { |
| 2376 | const tl = state.capturedTimeline; |
no test coverage detected