close #342 send SET_SPEED event when setConfig
This commit is contained in:
@@ -207,6 +207,14 @@ export class Replayer {
|
|||||||
if (!this.config.skipInactive) {
|
if (!this.config.skipInactive) {
|
||||||
this.backToNormal();
|
this.backToNormal();
|
||||||
}
|
}
|
||||||
|
if (typeof this.config.speed !== 'undefined') {
|
||||||
|
this.speedService.send({
|
||||||
|
type: 'SET_SPEED',
|
||||||
|
payload: {
|
||||||
|
speed: config.speed!,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public getMetaData(): playerMetaData {
|
public getMetaData(): playerMetaData {
|
||||||
|
|||||||
Reference in New Issue
Block a user