handle sketch and sketch item move undo/redo

This commit is contained in:
Stewart Allen 2025-06-15 18:49:45 -04:00
commit 4d8622eed6
4 changed files with 62 additions and 33 deletions

View file

@ -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;