Fix undo bug returning to drawing a Pen tool rubber-band curve on prior parts of a previously drawn shape (#2710)

fix: add cleanup after pen path is closed

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Timur Gainullin 2025-06-15 06:31:23 +05:00 committed by Keavon Chambers
parent 643d7b4432
commit 8a3f133140
1 changed files with 1 additions and 0 deletions

View File

@ -706,6 +706,7 @@ impl PenToolData {
layer,
modification_type: VectorModificationType::SetG1Continuous { handles, enabled: colinear },
});
self.cleanup(responses);
}
}