Skip to content

Commit

Permalink
Merge pull request #7601 from satori99/dev
Browse files Browse the repository at this point in the history
Fix middle-click zooming error in refactored OrbitControls
  • Loading branch information
mrdoob committed Nov 16, 2015
2 parents 24dcdd4 + 4cd4693 commit 28bcdf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/js/controls/OrbitControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,11 @@ THREE.OrbitControls = function ( object, domElement ) {

if ( dollyDelta.y > 0 ) {

dollyIn( scope.getZoomScale() );
dollyIn( getZoomScale() );

} else if ( dollyDelta.y < 0 ) {

dollyOut( scope.getZoomScale() );
dollyOut( getZoomScale() );

}

Expand Down

0 comments on commit 28bcdf8

Please sign in to comment.