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:
parent
9ae13634d0
commit
cd241095a2
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue