提交 71358aaf 编写于 作者: S sp-kilobug

Merge pull request #10 from sp-kilobug/revert-9-sp-kilobug-patch-2

Revert "#422: fix fallback moves in owner container"
......@@ -1057,11 +1057,9 @@
/** @returns {HTMLElement|false} */
function _ghostInBottom(el, evt) {
var lastEl = el.lastElementChild;
if (lastEl===ghostEl) {
lastEl = lastEl.previousElementSibling || ghostEl;
}
var rect = lastEl.getBoundingClientRect();
var lastEl = el.lastElementChild,
rect = lastEl.getBoundingClientRect();
return (evt.clientY - (rect.top + rect.height) > 5) && lastEl; // min delta
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册