mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 17:18:13 +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)
|
) && clicked_on_line_endpoints(layer, document, input, tool_data)
|
||||||
&& !input.keyboard.key(Key::Control)
|
&& !input.keyboard.key(Key::Control)
|
||||||
{
|
{
|
||||||
|
responses.add(DocumentMessage::StartTransaction);
|
||||||
return ShapeToolFsmState::DraggingLineEndpoints;
|
return ShapeToolFsmState::DraggingLineEndpoints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user