We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86cff67 + 64d5cf7 commit 2d8ea9eCopy full SHA for 2d8ea9e
kikit/common.py
@@ -315,7 +315,7 @@ def resolveAnchor(anchor):
315
a VECTOR2I
316
"""
317
choices = {
318
- "tl": lambda x: x.GetPosition(),
+ "tl": lambda x: x.GetPosition() + toKiCADPoint((0, 0)),
319
"tr": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), 0)),
320
"bl": lambda x: x.GetPosition() + toKiCADPoint((0, x.GetHeight())),
321
"br": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), x.GetHeight())),
0 commit comments