mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-16 06:36:33 +00:00
Improve position of rotated node label
This commit is contained in:
parent
f802d8d952
commit
593a91dfd3
@ -105,7 +105,7 @@ export class LabelWidget implements Widget {
|
||||
return l.y + bbox.height - LabelWidget.NODE_LABEL_MARGIN;
|
||||
})
|
||||
.attr('transform', (l: MapLabel) => {
|
||||
return `rotate(${l.rotation}, 0, 0)`;
|
||||
return `rotate(${l.rotation}, ${l.x}, ${l.y})`;
|
||||
})
|
||||
|
||||
label_body_merge
|
||||
|
Loading…
x
Reference in New Issue
Block a user