Skip to content

Commit cd24109

Browse files
authored
Fix history steps not being given to Line tool endpoint movements (#3739)
start transaction when dragging line endpoints to enable abort
1 parent 9ae1363 commit cd24109

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/src/messages/tool/tool_messages/shape_tool.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ impl Fsm for ShapeToolFsmState {
789789
) && clicked_on_line_endpoints(layer, document, input, tool_data)
790790
&& !input.keyboard.key(Key::Control)
791791
{
792+
responses.add(DocumentMessage::StartTransaction);
792793
return ShapeToolFsmState::DraggingLineEndpoints;
793794
}
794795

0 commit comments

Comments
 (0)