Skip to content

Commit

Permalink
Merge pull request #115 from pmndrs/fix-lockcontrols
Browse files Browse the repository at this point in the history
fix: lock the controls on box demo
  • Loading branch information
DennisSmolek committed Jun 9, 2024
2 parents ce3c653 + c70bfdb commit c0dd197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/examples/src/examples/BallBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function BallBox() {
controls.rotate(0, 0, false);
setTimeout(() => {
//@ts-ignore
//controls.enabled = false;
controls.enabled = false;
}, 100);
return () => {
//@ts-ignore
Expand Down

0 comments on commit c0dd197

Please sign in to comment.