diff options
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r-- | gerbonara/cad/kicad/schematic.py | 6 |
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): |