Skip to content

Visualize Your Ideas With Code

fix(core): fix playback state (#471)

Jacob1c259d0d574b
diff --git a/packages/core/src/app/Renderer.ts b/packages/core/src/app/Renderer.ts
index 0a45ade6..273bf947 100644
--- a/packages/core/src/app/Renderer.ts
+++ b/packages/core/src/app/Renderer.ts
@@ -166,6 +166,7 @@ export class Renderer {
settings = (await this.exporter.configure(settings)) ?? settings;
this.stage.configure(settings);
this.playback.fps = settings.fps;
+ this.playback.state = PlaybackState.Rendering;
const from = this.status.secondsToFrames(settings.range[0]);
const to = this.status.secondsToFrames(settings.range[1]);