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

Merge pull request #12408 from ADRG1T/dev

TrackBallControls: mousewheel handler should take in consideration noZoom flag
......@@ -469,6 +469,8 @@ THREE.TrackballControls = function ( object, domElement ) {
function mousewheel( event ) {
if ( _this.enabled === false ) return;
if ( _this.noZoom === true ) return;
event.preventDefault();
event.stopPropagation();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册