Skip to content

Commit

Permalink
fix: restore camera animation navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Apr 6, 2024
1 parent d805404 commit 3531943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/openbim-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -21663,7 +21663,7 @@ class Simple2DScene extends Component {
this.controls.mouseButtons.left = CameraControls.ACTION.TRUCK;
this.controls.dollyToCursor = true;
this.controls.restThreshold = 2;
this.controls.smoothTime = 0;
this.controls.smoothTime = 0.2;
}
/**
* {@link Component.get}
Expand Down
2 changes: 1 addition & 1 deletion src/core/Simple2DScene/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class Simple2DScene
this.controls.mouseButtons.left = CameraControls.ACTION.TRUCK;
this.controls.dollyToCursor = true;
this.controls.restThreshold = 2;
this.controls.smoothTime = 0;
this.controls.smoothTime = 0.2;
}

/**
Expand Down

0 comments on commit 3531943

Please sign in to comment.