Skip to content

Commit f84687c

Browse files
Ayush2k020HyperCube
authored andcommitted
Update editor/src/messages/tool/common_functionality/shape_editor.rs
Co-authored-by: James Lindsay <[email protected]>
1 parent 6ec21bd commit f84687c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/src/messages/tool/common_functionality/shape_editor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl ShapeState {
421421
(point.as_handle().is_some() && self.ignore_handles) || (point.as_anchor().is_some() && self.ignore_anchors)
422422
}
423423

424-
/// Creates a dummy modification to trigger graph reorganization.
424+
/// Applies a dummy vector modification to the layer. In the case where a group containing some vector data is selected, this triggers the creation of a «Flatten Path» node.
425425
fn add_dummy_modification_to_trigger_graph_reorganization(layer: LayerNodeIdentifier, start_point: PointId, _end_point: PointId, responses: &mut VecDeque<Message>) {
426426
// Apply a zero-delta to one of the points to trigger reorganization
427427
let dummy_modification = VectorModificationType::ApplyPointDelta {

0 commit comments

Comments
 (0)