mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Preserve the camera, map source and layer selection across engine sessions. Restore the previous engine if startup fails and retain local history navigation.
10 lines
288 B
JavaScript
10 lines
288 B
JavaScript
import { createApplicationControls } from '../app/controls.js';
|
|
import { getStandaloneCatalog } from './catalog.js';
|
|
|
|
export function createStandaloneControls(options) {
|
|
return createApplicationControls({
|
|
catalog: options?.catalog ?? getStandaloneCatalog(),
|
|
...options,
|
|
});
|
|
}
|