close #244 pass fullsnapshot event to the callback

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 50406c27ee
commit 520ddf3a4f

View File

@@ -381,7 +381,7 @@ export class Replayer {
for (let idx = 0; idx < injectStylesRules.length; idx++) {
(styleEl.sheet! as CSSStyleSheet).insertRule(injectStylesRules[idx], idx);
}
this.emitter.emit(ReplayerEvents.FullsnapshotRebuilded);
this.emitter.emit(ReplayerEvents.FullsnapshotRebuilded, event);
this.waitForStylesheetLoad();
}