提交 2e6df839 编写于 作者: O owen-m1

#1598: Allow selecting with SHIFT key without multiDragKey being down

上级 a60ded8c
......@@ -323,7 +323,7 @@ function MultiDragPlugin() {
});
// Modifier activated, select from last to dragEl
if ((!options.multiDragKey || this.multiDragKeyDown) && evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
let lastIndex = index(lastMultiDragSelect),
currentIndex = index(dragEl);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册