-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
OrbitalControls -> Allow mouse control to be null #144
Labels
enhancement
New feature or request
Comments
Is this allowed in three.js? |
Yes. https://github.com/mrdoob/three.js/blob/dev/examples/jsm/controls/OrbitControls.js#L953 It sets state to none if the switch case does not match any MOUSE enum. |
Maybe better do?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using TypeScript the mouse control is not allowed to be nullable when in fact I wish to not have any control for that mouse button.
The typescript definition should allow MOUSE | undefined | null
The text was updated successfully, but these errors were encountered: