summaryrefslogtreecommitdiff
path: root/gerbonara/layers.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r--gerbonara/layers.py2
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})')