Skip to content

Commit 2d8ea9e

Browse files
committed
Merge branch 'fix_tl'
2 parents 86cff67 + 64d5cf7 commit 2d8ea9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kikit/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def resolveAnchor(anchor):
315315
a VECTOR2I
316316
"""
317317
choices = {
318-
"tl": lambda x: x.GetPosition(),
318+
"tl": lambda x: x.GetPosition() + toKiCADPoint((0, 0)),
319319
"tr": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), 0)),
320320
"bl": lambda x: x.GetPosition() + toKiCADPoint((0, x.GetHeight())),
321321
"br": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), x.GetHeight())),

0 commit comments

Comments
 (0)