fix(cyclones): preserve movement in selected voice context

This commit is contained in:
German Khokhlov committed 2026-11-03 15:10:20 +04:00
1 parent deb02f635e
commit 92666fdbaf
2 files changed
+50 -2

No files matched your search

+3 -1
View File
@@ -123,7 +123,9 @@ export function createCyclonesLayer({
positionAt: storm.positionAt,
windKt: storm.windKt,
pressureHpa: storm.pressureHpa,
movement: storm.movement,
// Flat scalars: the voice context summary drops nested objects.
movementDirectionDegrees: storm.movement?.directionDegrees,
movementSpeedKt: storm.movement?.speedKt,
advisoryUrl: storm.advisoryUrl,
},
});