From 4f272ba8b17456596c9b1f84b75716a4a613e980 Mon Sep 17 00:00:00 2001 From: esophagoose <> Date: Thu, 24 Nov 2022 14:17:27 -0800 Subject: [PATCH] fixes wire rendering --- altium_sch_document.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/altium_sch_document.js b/altium_sch_document.js index 7a3d8a0..e9a167a 100644 --- a/altium_sch_document.js +++ b/altium_sch_document.js @@ -313,9 +313,9 @@ class AltiumLine extends AltiumObject super(record); this.x1 = Number.parseInt(this.attributes.location_x, 10); - this.y1 = Number.parseInt(this.attributes.corner_x, 10); - this.x2 = Number.parseInt(this.attributes.corner_y, 10); - this.y2 = Number.parseInt(this.attributes.location_y, 10); + this.x2 = Number.parseInt(this.attributes.corner_x, 10); + this.y1 = Number.parseInt(this.attributes.location_y, 10); + this.y2 = Number.parseInt(this.attributes.corner_y, 10); this.width = Number.parseInt(this.attributes.linewidth ?? "1", 10); this.colour = Number.parseInt(this.attributes.color ?? "0", 10); }