fix(voice): resolve follow-up review edge cases

This commit is contained in:
Sameh Khamis committed 2026-10-07 14:21:46 -07:00
1 parent 1594db9497
commit b5cb75bcf9
13 files changed
+232 -16

No files matched your search

+8 -1
View File
@@ -137,7 +137,14 @@ function resolveFly(args, { pointer, referents }) {
if (target.layerId && target.id && source === 'referent') {
// Contacts move: locate them when the flight starts, not from a list.
return {
args: { ...rest, entity: { layerId: target.layerId, id: target.id } },
args: {
...rest,
entity: {
layerId: target.layerId,
id: target.id,
...(hasPosition(target) ? { lat: target.lat, lon: target.lon } : {}),
},
},
used,
};
}