GraphiteEditor/Graphite
View on GitHubPen tool preview line disappearing during repeated undo
Open
#3790 opened on Feb 20, 2026
Good First Issue
Description
When using the Pen tool to draw a path and pressing Ctrl+Z multiple times, the preview line (showing the segment from the last anchor to the cursor) would disappear after a certain number of undos.
Current behaviour:
https://github.com/user-attachments/assets/bac854dd-4e7e-438d-ae3f-c6fbd0133275
Expected behaviour:
https://github.com/user-attachments/assets/b0892632-a3ac-43be-ae33-d84d5ebcdf48