Browse Source

Add 'touchEvt' and 'hoverTargetEl' to scrollCustomFn parameters

pull/1266/head
Noel Heesen 7 years ago
parent
commit
507c969e80
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

@ -167,7 +167,7 @@
scrollOffsetX = vx ? vx * speed : 0;
if ('function' === typeof(scrollCustomFn)) {
return scrollCustomFn.call(_this, scrollOffsetX, scrollOffsetY, evt);
return scrollCustomFn.call(_this, scrollOffsetX, scrollOffsetY, evt, touchEvt, el);
}
if (el === win) {

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save