From 09c9d2672878f4099ba874f495cd4f76c919f07e Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 21 Jul 2023 14:46:35 +0200 Subject: WIP --- gerbonara/cad/kicad/schematic.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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): -- cgit