Tighten callout fade comments and docs

This commit is contained in:
German Khokhlov committed 2026-11-06 20:20:11 +04:00
1 parent 910e63a56a
commit c9f40a837c
7 files changed
+19 -29

No files matched your search

+1 -2
View File
@@ -505,8 +505,7 @@ export function createQueries({
id: record.name || record.mmsi || 'VESSEL',
type: 'SEA',
skipLabel: record === selected,
// The vessel's ambient card: while the overlay paints it, detection
// draws no callout under it.
// Detection hides the callout while this card paints.
cardSourceId: VESSEL_OVERLAY_SOURCE_ID,
cardEntryId: components.cards.vesselOverlayEntryId(record),
klass: record.type
+1 -2
View File
@@ -23,8 +23,7 @@ export function normalizeVessel(row) {
lastPositionUtc: String(row.last_position_UTC || ''),
lastPositionEpoch: finiteNumber(row.last_position_epoch),
missedRefreshes: 0,
// Filled on first use by the cards' `vesselOverlayEntryId`. The id reads
// only the MMSI, or for an unkeyed row fields it never updates.
// Cached by `vesselOverlayEntryId`; the fields it reads never change.
overlayEntryId: null,
};
}