mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Fix history steps not being given to Line tool endpoint movements (#3739)
start transaction when dragging line endpoints to enable abort
This commit is contained in:
@@ -789,6 +789,7 @@ impl Fsm for ShapeToolFsmState {
|
||||
) && clicked_on_line_endpoints(layer, document, input, tool_data)
|
||||
&& !input.keyboard.key(Key::Control)
|
||||
{
|
||||
responses.add(DocumentMessage::StartTransaction);
|
||||
return ShapeToolFsmState::DraggingLineEndpoints;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user