setting graph dimensions to size of svg not window

This commit is contained in:
libretech committed 2018-09-02 15:33:58 +02:00
1 parent 13c9b1018b
commit 96dac08eb2
1 file changed
+2 -2
@@ -42,12 +42,12 @@ export class NlsCanvasService {
this.renderer.setStyle(
this.canvas,
'width',
window.innerWidth
this.canvas.innerWidth
);
this.renderer.setStyle(
this.canvas,
'height',
window.innerHeight
this.canvas.innerHeight
);
}
}