fix: retain completed scene status in current snapshots

This commit is contained in:
Sameh Khamis committed 2026-09-13 05:43:41 -07:00
1 parent e0652b19f2
commit 3164405108
5 files changed
+6 -5

No files matched your search

+2
View File
@@ -404,6 +404,7 @@ export class SceneDirector {
_publish(change) { this._state?.publish(change); }
_shotOutcome(type, scene, shot, index = scene.shots.indexOf(shot)) {
if (type === 'shot-loaded') this._presentation.status = `Loaded: ${scene.title} / ${shot.title}`;
this._publish({ type, sceneId: scene.id, sceneTitle: scene.title, shot, index });
}
@@ -979,6 +980,7 @@ export class SceneDirector {
link.click();
link.remove();
URL.revokeObjectURL(url);
this._presentation.status = 'Project exported';
this._publish({ type: 'project-exported', project: this._project });
}