The followed aircraft's trail runs to where the aircraft is drawn

When an application places live contacts itself, the tracked trail was cut at the layer's own delayed clock, which can run minutes behind the placed aircraft: the trail ended far behind the aircraft, and its head was dropped while that clock warmed up. The trail now reads the aircraft's time off its own reports at the point where it is drawn, for Flights and Military Flights.
This commit is contained in:
Sameh Khamis committed 2026-11-17 17:36:36 -08:00
1 parent 2f0c01eaa7
commit 914b28822a
10 files changed
+374 -15

No files matched your search

+6
View File
@@ -236,6 +236,12 @@ export function createFlightState({ source, services }) {
flightState._drSpeedPlaced = false;
/** Sibling of `_cachedDRPosition`: whether a host-supplied placement placed
* it (`_drSpeedPlaced` as the tracked aircraft was drawn), so its trail
* ends where it is drawn rather than at the layer's display delay. */
flightState._cachedDRPlaced = false;
flightState._drCourseHold = false;
/** Set by `_deadReckon`: following the clock, the time drawn is well