From f7ec7ea7df6df5035167aa30c9cf2565b07a2b52 Mon Sep 17 00:00:00 2001 From: ziajka Date: Thu, 15 Mar 2018 10:33:56 +0100 Subject: [PATCH] Context with centering --- src/app/cartography/map/map.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cartography/map/map.component.ts b/src/app/cartography/map/map.component.ts index 852cfbd8..499730ed 100644 --- a/src/app/cartography/map/map.component.ts +++ b/src/app/cartography/map/map.component.ts @@ -83,7 +83,7 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy { this.svg = rootElement.select('svg'); - this.graphContext = new Context(); + this.graphContext = new Context(true); if (this.windowFullSize) { this.graphContext.setSize(this.getSize());