瀏覽代碼

removing extraneous

Kyle Belfort 5 年之前
父節點
當前提交
f2725c5dca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nodeEditor/src/diagram/graphFrame.ts

+ 1 - 1
nodeEditor/src/diagram/graphFrame.ts

@@ -134,7 +134,7 @@ export class GraphFrame {
                     let portAdded = false;
                     let portAdded = false;
 
 
                     for (var link of node.links) {
                     for (var link of node.links) {
-                        if (link.portA === port && this.nodes.indexOf(link.nodeB!) === -1 || (link.portA! === port && port.exposedOnFrame)) {
+                        if (link.portA === port && this.nodes.indexOf(link.nodeB!) === -1 || (link.portA === port && port.exposedOnFrame)) {
                             let localPort: FrameNodePort;
                             let localPort: FrameNodePort;
 
 
                             if (!portAdded) {
                             if (!portAdded) {