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

TrackBallControls: mousewheel handler should take in consideration noZoom flag #12408

Merged
merged 1 commit into from
Feb 1, 2018

Conversation

ADRG1T
Copy link
Contributor

@ADRG1T ADRG1T commented Oct 14, 2017

TrackBallControls - mousewheel handler should take in consideration noZoom flag.

Currently only the enabled flag is checked and _zoomStart.y is changing even if when noZoom is set to true.

I added this check :
if (_this.noZoom === true) return;

Fixes #12343

@mrdoob mrdoob changed the title #12343 TrackBallControls - mousewheel handler should take in consideration noZoom flag TrackBallControls: mousewheel handler should take in consideration noZoom flag Feb 1, 2018
@mrdoob mrdoob added this to the r90 milestone Feb 1, 2018
@mrdoob mrdoob merged commit d4e7717 into mrdoob:dev Feb 1, 2018
@mrdoob
Copy link
Owner

mrdoob commented Feb 1, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants