mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 00:23:57 +00:00
Drawings - rotation support, Fixes: #140
This commit is contained in:
parent
46d028a4d2
commit
cc2544e3d0
@ -44,7 +44,7 @@ export class DrawingsWidget implements Widget {
|
||||
|
||||
const drawing_merge = drawing.merge(drawing_enter)
|
||||
.attr('transform', (d: Drawing) => {
|
||||
return `translate(${d.x},${d.y})`;
|
||||
return `translate(${d.x},${d.y}) rotate(${d.rotation})`;
|
||||
});
|
||||
|
||||
this.drawingWidgets.forEach((widget) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user