Skip to content

Commit

Permalink
fix: oc events = true, it breaks too much and needs more attention
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Feb 8, 2023
1 parent c9b69c8 commit 14f5a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/CameraControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const CameraControls = forwardRef<CameraControlsImpl, CameraControlsProps
onStart,
onEnd,
onChange,
events: enableEvents,
events: enableEvents = true,
regress,
...restProps
} = props
Expand Down
2 changes: 1 addition & 1 deletion src/core/OrbitControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const OrbitControls = React.forwardRef<OrbitControlsImpl, OrbitControlsPr
(
{
makeDefault,
events: enableEvents,
events: enableEvents = true,
camera,
regress,
domElement,
Expand Down

1 comment on commit 14f5a25

@vercel
Copy link

@vercel vercel bot commented on 14f5a25 Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.