提交 28bcdf8f 编写于 作者: M Mr.doob

Merge pull request #7601 from satori99/dev

Fix middle-click zooming error in refactored OrbitControls
......@@ -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() );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册