mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
style: format standalone configuration and build boundaries
This commit is contained in:
1 parent
8de1018c21
commit
fb67024f43
9 files changed
+111
-61
No files matched your search
@@ -20,11 +20,17 @@ export function createStandaloneApplication({
|
||||
const loaderStatus = loadingScreen.querySelector('.loader-status');
|
||||
return createApplication({
|
||||
createScene: (context) =>
|
||||
createStandaloneScene({ ...context, googleApiKey, cesiumToken, loaderStatus }),
|
||||
createStandaloneScene({
|
||||
...context,
|
||||
googleApiKey,
|
||||
cesiumToken,
|
||||
loaderStatus,
|
||||
}),
|
||||
createControls: (context) =>
|
||||
createStandaloneControls({ ...context, loaderStatus }),
|
||||
createData: (context) =>
|
||||
createStandaloneData({ ...context, allowQaRegistration }),
|
||||
createTools: (context) => createStandaloneTools({ ...context, loadingScreen }),
|
||||
createTools: (context) =>
|
||||
createStandaloneTools({ ...context, loadingScreen }),
|
||||
});
|
||||
}
|
||||
@@ -30,7 +30,9 @@ export function createStandaloneTools({
|
||||
if (window.__gevAnnotations === annotations) delete window.__gevAnnotations;
|
||||
annotations.destroy();
|
||||
});
|
||||
defer(startStandaloneChrome({ loadingScreen, styleManager, dataManager, signal }));
|
||||
defer(
|
||||
startStandaloneChrome({ loadingScreen, styleManager, dataManager, signal }),
|
||||
);
|
||||
// Idle render governor: flips the scene into requestRenderMode whenever
|
||||
// nothing animates per frame. Installed AFTER every module above has had
|
||||
// its chance to register pre-install holds. (perf wave 2)
|
||||
|
||||
Reference in new issue
Block a user