Переглянути джерело

fixes minor frame port bug and styling on selected frame port

Kyle Belfort 5 роки тому
батько
коміт
97abd575ec

+ 1 - 2
nodeEditor/src/diagram/graphCanvas.scss

@@ -33,8 +33,7 @@
         }
 
         img.selected {
-            margin: 3px 1px 0 4px;
-            box-shadow: 0 0 0 4px;
+            box-shadow: 0 0 0 2px;
             border-radius: 50%;
         }
         

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

@@ -181,7 +181,7 @@ export class GraphFrame {
             }
 
             for(let i = 0; i < this._frameOutPorts.length; i++) {
-                const port = this._frameInPorts[i];
+                const port = this._frameOutPorts[i];
                 if(i === 0){
                     port.framePortPosition = FramePortPosition.Top
                 } else if(i === this._frameInPorts.length -1){