mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix: retain completed scene status in current snapshots
This commit is contained in:
1 parent
e0652b19f2
commit
3164405108
5 files changed
+6
-5
No files matched your search
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user