Skip to content

Commit

Permalink
Ensure sort is reversible when adding a new node
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Jun 13, 2023
1 parent 075f531 commit 5a90afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bonsai.Editor/GraphModel/WorkflowEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ void ConfigureWorkflowBuilder(
_ => false
}));

var reorder = GetSimpleSort();
var reorder = GetReversibleSort();
var updateGraphLayout = CreateUpdateGraphLayoutDelegate();
var updateSelectedNode = CreateUpdateSelectionDelegate(builder);
var insertCommands = GetInsertGraphNodeCommands(inspectNode, inspectNode, targetNodes, nodeType, branch, validateInsert);
Expand Down

0 comments on commit 5a90afb

Please sign in to comment.