diff options
Diffstat (limited to 'gerber/primitives.py')
-rw-r--r-- | gerber/primitives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py index 21efb55..07a28db 100644 --- a/gerber/primitives.py +++ b/gerber/primitives.py @@ -779,7 +779,7 @@ class AMGroup(Primitive): if self._position:
dx = new_pos[0] - self._position[0]
- dy = new_pos[0] - self._position[0]
+ dy = new_pos[1] - self._position[1]
else:
dx = new_pos[0]
dy = new_pos[1]
|