未验证 提交 12d6b485 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13092 from makc/patch-1

fix the order of events in onMouseWheel
......@@ -765,9 +765,10 @@ THREE.OrbitControls = function ( object, domElement ) {
event.preventDefault();
event.stopPropagation();
scope.dispatchEvent( startEvent );
handleMouseWheel( event );
scope.dispatchEvent( startEvent ); // not sure why these are here...
scope.dispatchEvent( endEvent );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册