提交 4f29f2c0 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11530 from handwritingio/trackball-controls-context-menu

Allow right clicking when TrackballControls are disabled
......@@ -579,6 +579,8 @@ THREE.TrackballControls = function ( object, domElement ) {
function contextmenu( event ) {
if ( _this.enabled === false ) return;
event.preventDefault();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册