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.
1 parent 209ea18 commit 64d5cf7Copy full SHA for 64d5cf7
kikit/common.py
@@ -313,7 +313,7 @@ def resolveAnchor(anchor):
313
a VECTOR2I
314
"""
315
choices = {
316
- "tl": lambda x: x.GetPosition(),
+ "tl": lambda x: x.GetPosition() + toKiCADPoint((0, 0)),
317
"tr": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), 0)),
318
"bl": lambda x: x.GetPosition() + toKiCADPoint((0, x.GetHeight())),
319
"br": lambda x: x.GetPosition() + toKiCADPoint((x.GetWidth(), x.GetHeight())),
0 commit comments