Browse Source

Update start in Dragger

pull/1918/head
Artur Arseniev 8 years ago
parent
commit
b196795cf2
  1. 4
      src/utils/Dragger.js

4
src/utils/Dragger.js

@ -91,10 +91,10 @@ export default class Dragger {
const { onStart } = opts;
this.toggleDrag(1);
this.startPointer = this.getPointerPos(ev);
isFunction(onStart) && onStart(ev, this);
this.startPosition = this.getStartPosition();
this.guidesStatic = result(opts, 'guidesStatic') || [];
this.guidesTarget = result(opts, 'guidesTarget') || [];
isFunction(onStart) && onStart(ev, this);
this.startPosition = this.getStartPosition();
this.drag(ev);
}

Loading…
Cancel
Save