From fd39350d7a4adf9d6b8fddffa65a4a72ea8c58f7 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Tue, 14 Jan 2025 23:39:31 -0500 Subject: [PATCH] Fix undoing group sent shapes to 0,0 --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index e641ffa..86d4f20 100644 --- a/src/main.js +++ b/src/main.js @@ -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) {