Skip to content

Commit 747695b

Browse files
authored
remove tap-zoom-in (#3351)
1 parent 21e6534 commit 747695b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/model-viewer/src/three-components/SmoothControls.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,6 @@ export class SmoothControls extends EventDispatcher {
669669
} else {
670670
scene.target.worldToLocal(hit.position);
671671
scene.setTarget(hit.position.x, hit.position.y, hit.position.z);
672-
// Zoom in on the tapped point.
673-
this.userAdjustOrbit(0, 0, -5 * ZOOM_SENSITIVITY);
674672
}
675673
}
676674

0 commit comments

Comments
 (0)