Browse Source

KERNEL-13158: 默认行为应该可以放掉, 只要拖拽的元素本身不是个按钮啥的就没啥问题,一般也不会这么设置

es6
guy 2 years ago
parent
commit
2eb1f1cd7c
  1. 4
      src/core/utils/events/mousemovetracker.js

4
src/core/utils/events/mousemovetracker.js

@ -44,7 +44,7 @@
this._x = event.clientX;
this._y = event.clientY;
}
event.preventDefault ? event.preventDefault() : (event.returnValue = false);
// event.preventDefault ? event.preventDefault() : (event.returnValue = false);
},
releaseMouseMoves: function () {
@ -104,4 +104,4 @@
this._onMoveEnd();
}
};
})();
})();

Loading…
Cancel
Save