handle sketch and sketch item move undo/redo
This commit is contained in:
parent
db66a13580
commit
4d8622eed6
4 changed files with 62 additions and 33 deletions
|
|
@ -217,6 +217,8 @@ const selection = {
|
|||
broker.publish('drag_start', selected);
|
||||
} else if (opt.end) {
|
||||
broker.publish('drag_end', selected);
|
||||
} else {
|
||||
broker.publish('drag', opt);
|
||||
}
|
||||
selected.forEach(s => s.drag(opt));
|
||||
return selection;
|
||||
|
|
|
|||
Loading…
Reference in a new issue