mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-21 10:01:44 +00:00
Update link.service.ts
This commit is contained in:
parent
4c528bea07
commit
46c6cd1d7e
@ -55,8 +55,8 @@ export class LinkService {
|
||||
}
|
||||
|
||||
updateLink(server: Server, link: Link) {
|
||||
link.x = Math.round(link.x);
|
||||
link.y = Math.round(link.y);
|
||||
// link.x = Math.round(link.x);
|
||||
// link.y = Math.round(link.y);
|
||||
|
||||
return this.httpServer.put<Link>(server, `/projects/${link.project_id}/links/${link.link_id}`, link);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user