mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-10 11:59:53 +00:00
Stop drawing
This commit is contained in:
parent
cb403ae13a
commit
70b8556873
@ -67,7 +67,7 @@ export class NodesWidget implements Widget {
|
||||
if (n.label.x === null) {
|
||||
// center
|
||||
const bbox = this.getBBox();
|
||||
return - n.height + 20;
|
||||
return - n.height / 2. - bbox.height ;
|
||||
}
|
||||
return n.label.y - n.height / 2.;
|
||||
});
|
||||
|
@ -267,6 +267,7 @@ export class ProjectMapComponent implements OnInit {
|
||||
|
||||
public turnOffDrawLineMode() {
|
||||
this.drawLineMode = false;
|
||||
this.mapChild.graphLayout.getDrawingLineTool().stop();
|
||||
}
|
||||
|
||||
public onChooseInterface(event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user