mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-03-23 20:15:16 +00:00
Fix drawing lines, Ref: #111
This commit is contained in:
parent
7415a915ed
commit
03b61b371a
@ -286,7 +286,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
|
||||
const data = drawingLineTool.stop();
|
||||
this.onLineCreation(data['node'], data['port'], node, port);
|
||||
} else {
|
||||
drawingLineTool.start(node.x, node.y, {
|
||||
drawingLineTool.start(node.x + node.width / 2., node.y + node.height / 2., {
|
||||
'node': node,
|
||||
'port': port
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user