Skip to content

Commit f81aa60

Browse files
committed
Fix port order
1 parent 2fd8536 commit f81aa60

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Assets/com.alelievr.NodeGraphProcessor/Editor/Views/BaseNodeView.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -918,10 +918,6 @@ void SyncPortOrder(IEnumerable< NodePort > ports, IEnumerable< PortView > portVi
918918
var portViewList = portViews.ToList();
919919
var portsList = ports.ToList();
920920

921-
// If there is one port, we don't need to reorder it
922-
if (portsList.Count <= 1)
923-
return;
924-
925921
if (portViewList.Count == portsList.Count)
926922
{
927923
bool needReorder = false;

0 commit comments

Comments
 (0)