Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph.controls().maxDistance didn't work #276

Closed
zp1112 opened this issue Feb 6, 2020 · 1 comment
Closed

Graph.controls().maxDistance didn't work #276

zp1112 opened this issue Feb 6, 2020 · 1 comment

Comments

@zp1112
Copy link

zp1112 commented Feb 6, 2020

I wanted to limit the distance of perspectivecamera,but it didn't work.But setting minDistance is working.

I set this.Graph.controls().maxDistance = 400; but when I console the control, I saw the maxDistance was 50000 but not 400.

@vasturiano
Copy link
Owner

Thanks for the report @zp1112! I've just published an update that should fix the issue you described. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants