Browse Source

Fix editor reference in updateGuides

pull/2407/head
Artur Arseniev 7 years ago
parent
commit
4bc79bd304
  1. 2
      src/commands/view/ComponentDrag.js

2
src/commands/view/ComponentDrag.js

@ -120,6 +120,8 @@ export default {
},
updateGuides(guides) {
const { editor } = this;
(guides || this.guides).forEach(item => {
const { origin } = item;
const { top, height, left, width } = editor.Canvas.getElementPos(origin);

Loading…
Cancel
Save