diff options
author | jaseg <git@jaseg.de> | 2023-11-09 19:16:37 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-11-14 21:52:12 +0100 |
commit | 74fb384c4c0899f4d6f153da8db748a7a49e78ee (patch) | |
tree | 6e956d0fb498f1e47b995ec6093827f2a5395fc8 /gerbonara/layers.py | |
parent | 9af071344523accb5ae094ec76d5ace8102f1b0e (diff) | |
download | gerbonara-74fb384c4c0899f4d6f153da8db748a7a49e78ee.tar.gz gerbonara-74fb384c4c0899f4d6f153da8db748a7a49e78ee.tar.bz2 gerbonara-74fb384c4c0899f4d6f153da8db748a7a49e78ee.zip |
aperture macros: work around gerbv/jlc wonkiness
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r-- | gerbonara/layers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py index dc2e00d..4b9d360 100644 --- a/gerbonara/layers.py +++ b/gerbonara/layers.py @@ -881,7 +881,7 @@ class LayerStack: sc_y, tl_y = -1, (bounds[0][1] + bounds[1][1])
if side == 'bottom':
- sc_x, sc_y = -1, (bounds[0][0] + bounds[1][0])
+ sc_x, tl_x = -1, (bounds[0][0] + bounds[1][0])
else:
sc_x, tl_x = 1, 0
layer_group = tag('g', layers, transform=f'translate({tl_x} {tl_y}) scale({sc_x} {sc_y})')
|