diff options
author | jaseg <git@jaseg.de> | 2024-07-07 14:40:27 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-07 14:40:27 +0200 |
commit | cee355ff57e859466e4f74d1f57d68eeedb54ce1 (patch) | |
tree | 0beb3943c1e00c544f768e1206e39413784da4f6 /gerbonara/cad/protoboard.py | |
parent | 4c3815b25a23f8df2d6bfdab83962367150bd285 (diff) | |
download | gerbonara-cee355ff57e859466e4f74d1f57d68eeedb54ce1.tar.gz gerbonara-cee355ff57e859466e4f74d1f57d68eeedb54ce1.tar.bz2 gerbonara-cee355ff57e859466e4f74d1f57d68eeedb54ce1.zip |
protoboard: fix column label alignment
Diffstat (limited to 'gerbonara/cad/protoboard.py')
-rw-r--r-- | gerbonara/cad/protoboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/protoboard.py b/gerbonara/cad/protoboard.py index cc1ab9e..ebc8151 100644 --- a/gerbonara/cad/protoboard.py +++ b/gerbonara/cad/protoboard.py @@ -263,7 +263,7 @@ class PatternProtoArea: yield Text(t_x, t_y, lno_i, self.font_size, self.font_stroke, 'center', 'top', flip=True, unit=self.unit) if border_text[0]: - t_y = y + h + off_y + t_y = y + h - off_y yield Text(t_x, t_y, lno_i, self.font_size, self.font_stroke, 'center', 'bottom', unit=self.unit) if not self.single_sided: yield Text(t_x, t_y, lno_i, self.font_size, self.font_stroke, 'center', 'bottom', flip=True, unit=self.unit) |