Sfoglia il codice sorgente

Re-adding removed line

Kyle Belfort 5 anni fa
parent
commit
e59a25b6de
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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) {