mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Tighten callout fade comments and docs
This commit is contained in:
1 parent
910e63a56a
commit
c9f40a837c
7 files changed
+19
-29
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user