Fix undoing group sent shapes to 0,0

This commit is contained in:
Skyler Lehmkuhl 2025-01-14 23:39:31 -05:00
parent 14f14d03c8
commit fd39350d7a
1 changed files with 1 additions and 0 deletions

View File

@ -1530,6 +1530,7 @@ let actions = {
for (let shapeIdx of action.shapes) {
let shape = pointerList[shapeIdx];
frame.addShape(shape);
shape.translate(action.position.x, action.position.y);
group.getFrame(0).removeShape(shape);
}
for (let objectIdx of action.objects) {