From 99058df02aad6cc272001d7c544c76847ecc58a5 Mon Sep 17 00:00:00 2001 From: llama Date: Tue, 20 May 2025 12:12:23 +0800 Subject: [PATCH] remove redundant save already called by undoStack.onObjectModified or setShapePosition --- ts/routes/image-occlusion/mask-editor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ts/routes/image-occlusion/mask-editor.ts b/ts/routes/image-occlusion/mask-editor.ts index fb29977cd..c5492d413 100644 --- a/ts/routes/image-occlusion/mask-editor.ts +++ b/ts/routes/image-occlusion/mask-editor.ts @@ -116,7 +116,6 @@ function initCanvas(): fabric.Canvas { modifiedPolygon(canvas, evt.target); undoStack.onObjectModified(); } - saveNeededStore.set(true); }); canvas.on("text:editing:entered", function() { textEditingState.set(true);