2
0

removed update-on-resize function

This commit is contained in:
2018-08-06 17:41:33 +02:00
parent 759af7acf9
commit dcaede1fb0

View File

@@ -41,15 +41,8 @@ export class GraphsComponent implements OnChanges {
private genLoadedAllGraphs: any | null;
@Input() config: any;
@ViewChild('svg') svgElementRef;
@Output() svgChange = new EventEmitter();
@HostListener('window:resize', ['$event'])
private onResize(event) {
this.init();
}
@ViewChild('svg') svgElementRef;
constructor(
private canvasService: CanvasService