summaryrefslogtreecommitdiff
path: root/gerbonara/cad
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-21 14:46:35 +0200
committerjaseg <git@jaseg.de>2023-07-21 14:46:35 +0200
commit09c9d2672878f4099ba874f495cd4f76c919f07e (patch)
tree644ebae7cb918d891c716a8377c01dc4b4b8d67a /gerbonara/cad
parent21ca5f7f5c2e5425f9a142961bf86b39af825bf7 (diff)
downloadgerbonara-09c9d2672878f4099ba874f495cd4f76c919f07e.tar.gz
gerbonara-09c9d2672878f4099ba874f495cd4f76c919f07e.tar.bz2
gerbonara-09c9d2672878f4099ba874f495cd4f76c919f07e.zip
WIP
Diffstat (limited to 'gerbonara/cad')
-rw-r--r--gerbonara/cad/kicad/schematic.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/schematic.py b/gerbonara/cad/kicad/schematic.py
index cb945a2..7809685 100644
--- a/gerbonara/cad/kicad/schematic.py
+++ b/gerbonara/cad/kicad/schematic.py
@@ -308,7 +308,11 @@ class DrawnProperty(TextMixin):
@property
def h_align(self):
- return self.effects.justify.h_str
+ j = self.effects.justify.h_str
+ if False: #self.at.rotation in (270):
+ return {'left': 'right', 'right': 'left'}.get(j, j)
+ else:
+ return j
@property
def rotation(self):