mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Open the cockpit on a tracked Navara aircraft
This commit is contained in:
1 parent
8b179a7e01
commit
2087b55b47
19 files changed
+142
-65
No files matched your search
@@ -39,7 +39,7 @@ export function navaraModeNotice(availability) {
|
||||
return Object.freeze({
|
||||
label: t('Experimental Navara engine'),
|
||||
detail: names.length
|
||||
? `Data layers: ${names.join(', ')}; the other layers, cockpit and director are unavailable`
|
||||
? `Data layers: ${names.join(', ')}; the other layers and director are unavailable`
|
||||
: 'No data layers on this engine yet; cockpit and director are unavailable',
|
||||
});
|
||||
}
|
||||
@@ -347,7 +347,7 @@ export function createViewerlessTools({
|
||||
if (window.__godsEyeView === debug) delete window.__godsEyeView;
|
||||
});
|
||||
// Voice on the engine (phase 3, Task 9): the W1 tools drive the engine;
|
||||
// the viewer-only ones (director, annotations, cockpit…) refuse.
|
||||
// the viewer-only ones (director, annotations…) refuse.
|
||||
const voiceCommands = initGevVoiceCommands({
|
||||
...voice,
|
||||
annotationResolver: operations.annotationResolver,
|
||||
|
||||
@@ -119,7 +119,7 @@ test('without a viewer the tools run the governor on the engine, show the notice
|
||||
registry.register('navara', { satellites: () => ({}), flights: () => ({}) });
|
||||
assert.equal(
|
||||
navaraModeNotice(createLayerAvailability('navara', { registry })).detail,
|
||||
'Data layers: Live Flights, Satellites; the other layers, cockpit and director are unavailable',
|
||||
'Data layers: Live Flights, Satellites; the other layers and director are unavailable',
|
||||
);
|
||||
// The governor drives the engine's continuous rendering.
|
||||
assert.equal(isRenderGovernorInstalled(engine), true);
|
||||
|
||||
Reference in new issue
Block a user