mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-22 10:20:48 +00:00
Apply rotation to node label selection
This commit is contained in:
parent
593a91dfd3
commit
3e4bf71c9c
@ -125,6 +125,7 @@ export class LabelWidget implements Widget {
|
|||||||
current.attr('height', bbox.height + border * 2);
|
current.attr('height', bbox.height + border * 2);
|
||||||
current.attr('x', bbox.x - border);
|
current.attr('x', bbox.x - border);
|
||||||
current.attr('y', bbox.y - border);
|
current.attr('y', bbox.y - border);
|
||||||
|
current.attr('transform', `rotate(${l.rotation}, ${bbox.x - border}, ${bbox.y - border})`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user