mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-08 02:54:16 +00:00
Context with centering
This commit is contained in:
parent
e785790cf5
commit
f7ec7ea7df
@ -83,7 +83,7 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy {
|
||||
|
||||
this.svg = rootElement.select<SVGSVGElement>('svg');
|
||||
|
||||
this.graphContext = new Context();
|
||||
this.graphContext = new Context(true);
|
||||
|
||||
if (this.windowFullSize) {
|
||||
this.graphContext.setSize(this.getSize());
|
||||
|
Loading…
x
Reference in New Issue
Block a user