Skip to content

Commit

Permalink
feat: return correct camera controls
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Mar 8, 2024
1 parent ac5b99a commit 96b7c68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/viewer/Viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96b7c68

Please sign in to comment.