close #342 send SET_SPEED event when setConfig

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 07d661f3a2
commit 11af001514

View File

@@ -207,6 +207,14 @@ export class Replayer {
if (!this.config.skipInactive) {
this.backToNormal();
}
if (typeof this.config.speed !== 'undefined') {
this.speedService.send({
type: 'SET_SPEED',
payload: {
speed: config.speed!,
},
});
}
}
public getMetaData(): playerMetaData {