mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
refactor: move the layer state coordinator into its own module
layerState.js held both the share-link layer codec and the coordinator that restores layer choices into the running app and persists them to browser storage. Move the coordinator, unchanged, to layerStateCoordinator.js so the codec stays a pure data module that code outside the browser can use to write share links. The registry stays in layerState.js, where the token tooling reads it, and the aircraft barrel re-exports both.
This commit is contained in:
1 parent
a8b5860e9f
commit
9de2705eaf
6 files changed
+751
-725
No files matched your search
@@ -9,6 +9,7 @@ export * from '../../data/cockpitContactDot.js';
|
||||
export * from '../../data/contactMatch.js';
|
||||
export * from '../../data/iconOrientation.js';
|
||||
export * from '../../data/layerState.js';
|
||||
export * from '../../data/layerStateCoordinator.js';
|
||||
export * from '../../data/modelVisualAnchor.js';
|
||||
export * from '../../data/motionModel.js';
|
||||
export * from '../../data/renderAltitude.js';
|
||||
|
||||
Reference in new issue
Block a user