Browse Source

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

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '36d39beb8eec32233f73adb20e0067764a68bed5':
  KERNEL-13158: 默认行为应该可以放掉, 只要拖拽的元素本身不是个按钮啥的就没啥问题,一般也不会这么设置
es6
guy-王川 2 years ago
parent
commit
d4fb568d34
  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