mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-27 14:29:45 +00:00
Set ry for rectangle
This commit is contained in:
parent
df6248d641
commit
89bff8ac30
@ -60,6 +60,7 @@ export class StyleEditorDialogComponent implements OnInit {
|
||||
|
||||
if (this.drawing.element instanceof RectElement) {
|
||||
this.element.rx = this.drawing.element.rx;
|
||||
this.element.ry = this.drawing.element.ry;
|
||||
}
|
||||
|
||||
if (this.element.stroke_width === undefined) this.element.stroke_width = 0;
|
||||
@ -89,7 +90,7 @@ export class StyleEditorDialogComponent implements OnInit {
|
||||
|
||||
if (this.drawing.element instanceof RectElement) {
|
||||
this.drawing.element.rx = this.element.rx;
|
||||
this.drawing.element.ry = this.element.rx;
|
||||
this.drawing.element.ry = this.element.rx; // set ry with rx because we don't have ry in the form
|
||||
}
|
||||
|
||||
let mapDrawing = this.drawingToMapDrawingConverter.convert(this.drawing);
|
||||
|
Loading…
x
Reference in New Issue
Block a user