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 Apr 1, 2024
1 parent 3211a88 commit 56a7e73
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 56a7e73

Please sign in to comment.