summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
Diffstat (limited to 'gerber')
-rw-r--r--gerber/primitives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py
index a5c3055..aa6e661 100644
--- a/gerber/primitives.py
+++ b/gerber/primitives.py
@@ -835,7 +835,7 @@ class AMGroup(Primitive):
return self._position
def offset(self, x_offset=0, y_offset=0):
- self.position = tuple(map(add, self.position, (x_offset, y_offset)))
+ self._position = tuple(map(add, self._position, (x_offset, y_offset)))
for primitive in self.primitives:
primitive.offset(x_offset, y_offset)