mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
feat(recording): render the safe frame from a recording store
RecordingControls publishes the safe frame a recording composes in, 16:9 or 9:16 (null while none records), to the new recording store, and the scene chrome renders the overlay's active and ratio classes from it instead of the controls writing them. Any frame but 9:16, even none named, records in 16:9 as before.
This commit is contained in:
1 parent
0949f6a776
commit
3a750c9021
11 files changed
+116
-38
No files matched your search
@@ -63,6 +63,7 @@ import { useLocaleStore } from './stores/locale.js';
|
||||
import { useLocationStore } from './stores/location.js';
|
||||
import { useCockpitStore } from './stores/cockpit.js';
|
||||
import { useGlobeActionsStore } from './stores/globeActions.js';
|
||||
import { useRecordingStore } from './stores/recording.js';
|
||||
|
||||
/**
|
||||
* Central UI orchestrator for the God's Eye View application.
|
||||
@@ -129,6 +130,8 @@ export class StyleManager extends ShellFacade {
|
||||
this._recording = new RecordingControls({
|
||||
syncShareState: () => this._syncShareState(),
|
||||
syncHudControls: () => this._visualSettings._syncHudControls(),
|
||||
publishSafeFrame: (frame) =>
|
||||
useRecordingStore(applicationPinia()).publishSafeFrame(frame),
|
||||
});
|
||||
Object.assign(this, readShellElements());
|
||||
this._panelChrome = new PanelChrome({
|
||||
|
||||
Reference in new issue
Block a user