MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / reapply

Function reapply

packages/studio/src/hooks/usePreviewPersistence.ts:49–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48function installManualEditReapply(iframe: HTMLIFrameElement): void {
49 const reapply = () => {
50 const doc = readIframeDocument(iframe);
51 if (doc) reapplyPositionEditsAfterSeek(doc);
52 };
53 const install = () => {
54 reapply();
55 if (iframe.contentWindow) installStudioManualEditSeekReapply(iframe.contentWindow, reapply);

Callers 1

installFunction · 0.85

Calls 2

readIframeDocumentFunction · 0.85

Tested by

no test coverage detected