From 56a7e732be122ef06aed2f3a2d043766b2c628f6 Mon Sep 17 00:00:00 2001 From: Oscar Lorentzon Date: Fri, 8 Mar 2024 16:26:19 +0100 Subject: [PATCH] feat: return correct camera controls --- src/viewer/Viewer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/viewer/Viewer.ts b/src/viewer/Viewer.ts index 30065d7d..8c35c79f 100644 --- a/src/viewer/Viewer.ts +++ b/src/viewer/Viewer.ts @@ -449,6 +449,9 @@ export class Viewer extends EventEmitter implements IViewer { case State.Earth: resolve(CameraControls.Earth); break; + case State.GravityTraversing: + resolve(CameraControls.Gravity); + break; default: resolve(CameraControls.Street); break;