mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 05:38:11 +08:00
Fix disappearing path when it is closed with the Pen tool by drawing from its start point (#844)
This commit is contained in:
@@ -394,7 +394,7 @@ impl Fsm for PenToolFsmState {
|
|||||||
responses.push_back(op.into());
|
responses.push_back(op.into());
|
||||||
|
|
||||||
// Push a close path node
|
// Push a close path node
|
||||||
responses.push_back(add_manipulator_group(&tool_data.path, tool_data.from_start, ManipulatorGroup::closed()));
|
responses.push_back(add_manipulator_group(&tool_data.path, false, ManipulatorGroup::closed()));
|
||||||
|
|
||||||
responses.push_back(DocumentMessage::CommitTransaction.into());
|
responses.push_back(DocumentMessage::CommitTransaction.into());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user