Skip to content

Commit 75e0b76

Browse files
committed
Apply cargo fmt
1 parent 1edfe57 commit 75e0b76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/src/messages/portfolio/document_migration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,12 +578,12 @@ fn migrate_node(node_id: &NodeId, node: &DocumentNode, network_path: &[NodeId],
578578
if reference == "Stroke" && inputs_count == 10 {
579579
let mut node_template = resolve_document_node_type(reference)?.default_node_template();
580580
let old_inputs = document.network_interface.replace_inputs(node_id, network_path, &mut node_template)?;
581-
581+
582582
// Restore all existing inputs
583583
for (index, input) in old_inputs.into_iter().enumerate() {
584584
document.network_interface.set_input(&InputConnector::node(*node_id, index), input, network_path);
585585
}
586-
586+
587587
// Add the new scaling parameter at index 10
588588
let scaling_input = NodeInput::value(TaggedValue::StrokeScaling(StrokeScaling::ScaleWithShape), false);
589589
document.network_interface.set_input(&InputConnector::node(*node_id, 10), scaling_input, network_path);

0 commit comments

Comments
 (0)