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

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

@@ -857,7 +857,7 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
         // Frames
         if (editorData.frames) {
             if (isImportingAFrame) {
-                var frame = GraphFrame.Parse(editorData.frames[editorData.frames.length - 1], this, editorData.map);
+                const frame = GraphFrame.Parse(editorData.frames[editorData.frames.length - 1], this, editorData.map);
                 this._frames.push(frame);
                 this.globalState.onSelectionChangedObservable.notifyObservers(frame);
             } else {