Skip to content

Commit

Permalink
updated pinch speed
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd committed Apr 17, 2024
1 parent 70f05b6 commit 948c162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cameras/multi-camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MultiCamera extends BaseCamera {

mobilePanSpeed: number = 0.025;

pinchSpeed: number = 0.025;
pinchSpeed: number = 0.00025;

wheelSpeed: number = 0.005;

Expand Down
2 changes: 1 addition & 1 deletion src/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class Viewer {
moveDamping: 0.97,
mousePanSpeed: 1,
mobilePanSpeed: 0.025,
pinchSpeed: 0.025,
pinchSpeed: 0.00025,
wheelSpeed: 0.005,
zoomThreshold: 0.01,
zoomExp: 0.5,
Expand Down

0 comments on commit 948c162

Please sign in to comment.