瀏覽代碼

Re-adding removed line

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

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

@@ -368,6 +368,7 @@ export class GraphFrame {
 
     public refresh() {
         this._nodes = [];
+        this._ownerCanvas.globalState.onFrameCreated.notifyObservers(this);
     }
 
     public addNode(node: GraphNode) {