Browse Source

Make ts happy

Popov72 5 years ago
parent
commit
e120325018
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nodeEditor/src/diagram/graphCanvas.tsx

+ 1 - 1
nodeEditor/src/diagram/graphCanvas.tsx

@@ -743,7 +743,7 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
                 [inputBlock, pointName] = customInputBlock;
             }
             this.props.globalState.nodeMaterial.attachedBlocks.push(inputBlock);
-            pointA = inputBlock[pointName];
+            pointA = (inputBlock as any)[pointName];
             nodeA = this.appendBlock(inputBlock);
             
             nodeA.x = this._dropPointX - 200;