mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-09 21:02:19 +00:00
fix(cockpit): keep the orbital view on a double-click at a ground point
In the orbital view a double-click on a mapped ground point went on to Cesium's own double-click, which tracks the picked entity and so ended the view. The Cockpit's double-click routing now takes it in orbit: it keeps or starts the focus on that point (a point beyond the reach is left unfocused but still not tracked). A double-click anywhere else, one a tool owns, and every one outside orbit go on to Cesium's as before, and stopping the Cockpit still hands Cesium's handler back.
This commit is contained in:
1 parent
dd063b0e83
commit
b18336d3d4
5 files changed
+116
-9
No files matched your search
@@ -1723,7 +1723,10 @@ in a polite live region (`FOCUS · Camp Alpha`), and the swath reads
|
||||
approximate as for a tilt, scaled by the tilt onto the point. Clicks still
|
||||
reach Cesium's own handler and never untrack the satellite; a click a tool
|
||||
owns (drawing) is ignored, and the draw tool still borrows the click while
|
||||
it draws. Under the readout, IN REACH · *n* (a disclosure) lists the mapped
|
||||
it draws. A double-click on a mapped ground point keeps or starts the focus
|
||||
on it and never reaches Cesium's double-click, which would track the point
|
||||
and end the view (the Cockpit's double-click routing in
|
||||
`src/ui/cockpitInput.js`); any other double-click goes on as before. Under the readout, IN REACH · *n* (a disclosure) lists the mapped
|
||||
points facing the satellite that are within the reach or in the frame now,
|
||||
nearest to nadir first, at most 12 (with NEAREST 12 OF *n* beyond that),
|
||||
rebuilt once a second. A row opens the point's details: position, source and
|
||||
|
||||
Reference in new issue
Block a user