-
Merge branch 'main' into fix/electron-nested-iframe-raf-tick
发布于
2026-05-13 20:07:53 +00:00 Resolves conflicts in packages/player/src/hyperframes-player.ts
introduced by main's LOC-split refactor (PR #750), which extracted
DirectTimelineClock + ParentMediaManager into separate modules.The PR's parent-tick-clock additions are re-applied on top of the
refactored class structure:- New
_parentTickRaffield - New
_startParentTickClock/_stopParentTickClockprivate methods
(placed alongside_sendControl, since the tick uses postMessage) _stopParentTickClock()call added todisconnectedCallback,
pause,seek, and_onIframeLoad(alongside the existing
this._directTimelineClock.stop()calls there)play()updated:this._paused = falsemoved BEFORE_startParentTickClockso the
RAF tick's_pausedcheck doesn't self-terminate on first callback_startParentTickClock()only fires on the runtime-bridge path
(!directTimelineStarted) AND when ready + no adapter, matching
the second PR commit's review fix
No semantic change vs. the pre-refactor PR head — this commit only
reconciles the surface differences from #750.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件
- New