Skip to content

Commit

Permalink
remove extraneous calls to layoutDiagram in Palette and Diagram Compo…
Browse files Browse the repository at this point in the history
…nents
  • Loading branch information
rjohnson465 committed Jul 28, 2021
1 parent bcb4886 commit 79a7105
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion projects/gojs-angular/src/lib/diagram.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class DiagramComponent {
if (this.modelData) {
m.assignAllDataProperties(m.modelData, this.modelData);
}
this.diagram.layoutDiagram(true);
}, null);
});

Expand Down
1 change: 0 additions & 1 deletion projects/gojs-angular/src/lib/palette.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export class PaletteComponent {
if (this.modelData) {
m.assignAllDataProperties(m.modelData, this.modelData);
}
this.palette.layoutDiagram(true);
}, null);
});

Expand Down

0 comments on commit 79a7105

Please sign in to comment.