Fix undoing group sent shapes to 0,0
This commit is contained in:
parent
14f14d03c8
commit
fd39350d7a
|
|
@ -1530,6 +1530,7 @@ let actions = {
|
||||||
for (let shapeIdx of action.shapes) {
|
for (let shapeIdx of action.shapes) {
|
||||||
let shape = pointerList[shapeIdx];
|
let shape = pointerList[shapeIdx];
|
||||||
frame.addShape(shape);
|
frame.addShape(shape);
|
||||||
|
shape.translate(action.position.x, action.position.y);
|
||||||
group.getFrame(0).removeShape(shape);
|
group.getFrame(0).removeShape(shape);
|
||||||
}
|
}
|
||||||
for (let objectIdx of action.objects) {
|
for (let objectIdx of action.objects) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue