mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 22:02:21 +00:00
fix(voice): resolve follow-up review edge cases
This commit is contained in:
1 parent
1594db9497
commit
b5cb75bcf9
13 files changed
+232
-16
No files matched your search
+8
-1
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user