Browse Source

Use the right event in drag component command

pull/3264/head
Artur Arseniev 6 years ago
parent
commit
d57250934e
  1. 2
      src/commands/view/ComponentDrag.js

2
src/commands/view/ComponentDrag.js

@ -308,7 +308,7 @@ export default {
}; };
}, },
onStart() { onStart(event) {
const { target, editor, isTran, opts } = this; const { target, editor, isTran, opts } = this;
const { center, onStart } = opts; const { center, onStart } = opts;
const { Canvas } = editor; const { Canvas } = editor;

Loading…
Cancel
Save