Ver código fonte

cleaning code

Pamela Wolf 4 anos atrás
pai
commit
7b0f6a4277
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2 4
      nodeEditor/src/diagram/graphNode.ts

+ 2 - 4
nodeEditor/src/diagram/graphNode.ts

@@ -297,11 +297,9 @@ export class GraphNode {
             port.refresh();
         }
 
-        if(this.enclosingFrameId !== -1)
-        {   
+        if(this.enclosingFrameId !== -1) {   
             let index = this._ownerCanvas.frames.findIndex(frame => frame.id === this.enclosingFrameId);
-            if(index >= 0 && this._ownerCanvas.frames[index].isCollapsed)
-            {
+            if(index >= 0 && this._ownerCanvas.frames[index].isCollapsed) {
                 this._ownerCanvas.frames[index].redrawFramePorts();
             }
         }