fix(cli): address review — fps comment, fileServer cross-ref, duration note

- Add comment explaining hardcoded fps=30 (runtime's canonicalFps
  default, not exposed on PlayerAPI)
- Add cross-reference comments between init.ts and fileServer.ts
  explaining their different __renderReady timing semantics
This commit is contained in:
Miguel Ángel
2026-05-24 13:27:54 -04:00
parent e8af1e4b9d
commit 16e049b320
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -1634,6 +1634,8 @@ export function initSandboxRuntimeModular(): void {
player._timeline = state.capturedTimeline;
}
// __renderReady = timeline is bound, safe for deterministic seeking.
// fileServer.ts sets this immediately (no timeline to bind in its runtime).
if (state.capturedTimeline) {
(window as Window & { __renderReady?: boolean }).__renderReady = true;
}