diff --git a/scripts/format-scope.json b/scripts/format-scope.json index 5ed51e7fd..f9cb045ac 100644 --- a/scripts/format-scope.json +++ b/scripts/format-scope.json @@ -330,6 +330,7 @@ "src/ui/styles/cockpit.css", "src/ui/styles/cockpitBridge.css", "src/ui/styles/cockpitRadar.css", + "src/ui/styles/cockpitOrbital.css", "src/ui/styles/command-dock-compact.css", "src/app/stateChannel.js", "src/app/stateChannel.test.mjs", diff --git a/src/ui/cockpitInput.js b/src/ui/cockpitInput.js index b8df16357..c5987e97a 100644 --- a/src/ui/cockpitInput.js +++ b/src/ui/cockpitInput.js @@ -89,7 +89,7 @@ export function onScenePointerDown(nowMs = performance.now()) { /** * Enter first person when the followed track itself is double-clicked: the - * same entry, and the same gates, as C and the entry buttons. The click may + * same entry, and the same gates, as the entry buttons. The click may * land where the track is drawn now or where it was as the gesture began. A * double-click anywhere else, or one a tool owns (drawing ends a shape with * one), is left alone. diff --git a/src/ui/cockpitOrbitalView.test.mjs b/src/ui/cockpitOrbitalView.test.mjs index fc9caad99..559b5d7c6 100644 --- a/src/ui/cockpitOrbitalView.test.mjs +++ b/src/ui/cockpitOrbitalView.test.mjs @@ -31,7 +31,7 @@ const ISS = Object.freeze({ id: '25544', noradId: 25544, name: 'ISS (ZARYA)', - classKey: 'station', + satelliteClass: 'stations', classLabel: 'STATION ยท ISS', latitude: 30, longitude: -97, @@ -822,10 +822,6 @@ test('a map already leased elsewhere does not keep orbit out', async (t) => { assert.equal(store.orbital, null); }); -/** - * A double-click `offsetPx` from where the followed satellite is drawn; the - * scene projects the satellite to (400, 300) on a canvas at (10, 20). - */ /** * A double-click `offsetPx` from where the followed satellite is drawn, at * (400, 300) on the canvas, through Cesium's double-click handler.