Skip to content

Commit 8a3f133

Browse files
TumypmypKeavon
andcommitted
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>
1 parent 643d7b4 commit 8a3f133

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/src/messages/tool/tool_messages/pen_tool.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ impl PenToolData {
706706
layer,
707707
modification_type: VectorModificationType::SetG1Continuous { handles, enabled: colinear },
708708
});
709+
self.cleanup(responses);
709710
}
710711
}
711712

0 commit comments

Comments
 (0)