提交 ad71cf1c 编写于 作者: D Daniel Taub

making conditional more clear

上级 bf4d930c
......@@ -961,7 +961,7 @@
function onPointerUp( event ) {
if ( _dragging && !!scope.axis ) {
if ( _dragging && ( scope.axis !== null ) ) {
mouseUpEvent.mode = _mode;
scope.dispatchEvent( mouseUpEvent )
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册