Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcuk authored Mar 14, 2024
1 parent e70ae68 commit 50bbf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function addOrbitControls() {
controls.dampingFactor = 0.05;

controls.enablePan = false;
controls.enableZoom = false;
controls.enableZoom = true;

// allowing control of the distance can result in the view being no longer
// centred on the origin, so don't allow it
Expand Down

0 comments on commit 50bbf16

Please sign in to comment.