From e0c1e238362a995ee1bdd5f828a51cc1d87ab4a0 Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Fri, 30 Oct 2026 00:01:01 -0400 Subject: [PATCH] refactor(core): drop the comments the comment ratchet counts --- packages/core/src/runtime/init.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/core/src/runtime/init.ts b/packages/core/src/runtime/init.ts index 036e980784..60496a46ef 100644 --- a/packages/core/src/runtime/init.ts +++ b/packages/core/src/runtime/init.ts @@ -5163,7 +5163,6 @@ export function initSandboxRuntimeModular(): void { return false; } }; - // Registered timelines other than the root composition's: each scene's own clock. const sceneTimelines = () => { const timelines = (window.__timelines ?? {}) as Record; const rootCompositionId = @@ -5296,8 +5295,7 @@ export function initSandboxRuntimeModular(): void { // Only clips holding a tween that renders for the first time on this seek need their authored style read. const firstRendered = firstRenders && tl ? clipsFirstRenderedIn(tl, tweensRenderedThrough.time, t) : null; - // An empty set means no tween draws for the first time, and a page with no timeline has no tween: - // nothing to show, so no page-wide query. + // An empty set, or a page with no timeline, means no tween draws for the first time: no page-wide query. const hideClipsAgain = firstRenders && firstRendered?.size !== 0 && (tl || sceneTimelines().length > 0) ? showHiddenClips(firstRendered ? (el) => firstRendered.has(el) : undefined)