mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
build: declare scene policy ownership in the director export
This commit is contained in:
1 parent
3164405108
commit
ed172009e6
2 files changed
+6
-5
No files matched your search
@@ -561,7 +561,8 @@
|
|||||||
"src/app/stateChannel.js",
|
"src/app/stateChannel.js",
|
||||||
"src/ui/scenes.js",
|
"src/ui/scenes.js",
|
||||||
"src/ui/sceneControls.js",
|
"src/ui/sceneControls.js",
|
||||||
"src/ui/scenePresentation.js"
|
"src/ui/scenePresentation.js",
|
||||||
|
"src/contextModePolicy.js"
|
||||||
],
|
],
|
||||||
"external": ["cesium"]
|
"external": ["cesium"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -394,10 +394,6 @@ export class SceneDirector {
|
|||||||
} catch { /* toast is best-effort */ }
|
} catch { /* toast is best-effort */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Wire up all scene-panel DOM event listeners and render the initial UI state.
|
|
||||||
* Exits silently if the scene-select element is missing (headless/test mode).
|
|
||||||
*/
|
|
||||||
/** Immutable playback snapshots and completed editing actions. */
|
/** Immutable playback snapshots and completed editing actions. */
|
||||||
subscribe(listener, options) { return this._state.subscribe(listener, options); }
|
subscribe(listener, options) { return this._state.subscribe(listener, options); }
|
||||||
|
|
||||||
@@ -408,6 +404,10 @@ export class SceneDirector {
|
|||||||
this._publish({ type, sceneId: scene.id, sceneTitle: scene.title, shot, index });
|
this._publish({ type, sceneId: scene.id, sceneTitle: scene.title, shot, index });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wire up all scene-panel DOM event listeners and render the initial UI state.
|
||||||
|
* Exits silently if the scene-select element is missing (headless/test mode).
|
||||||
|
*/
|
||||||
_initUI() {
|
_initUI() {
|
||||||
this._controls = new SceneControls({
|
this._controls = new SceneControls({
|
||||||
subscribe: (listener) => this.subscribe(listener),
|
subscribe: (listener) => this.subscribe(listener),
|
||||||
|
|||||||
Reference in new issue
Block a user