Skip to content

Commit 5fd9ead

Browse files
yaqwsxmairas
authored andcommitted
Fix incorrect default value for addText
1 parent 20a31a1 commit 5fd9ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kikit/panelize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ def addKeepout(self, area, noTracks=True, noVias=True, noCopper=True):
17841784
self.board.Add(zone)
17851785
return zone
17861786

1787-
def addText(self, text, position, orientation=0,
1787+
def addText(self, text, position, orientation=fromDegrees(0),
17881788
width=fromMm(1.5), height=fromMm(1.5), thickness=fromMm(0.3),
17891789
hJustify=EDA_TEXT_HJUSTIFY_T.GR_TEXT_HJUSTIFY_CENTER,
17901790
vJustify=EDA_TEXT_VJUSTIFY_T.GR_TEXT_VJUSTIFY_CENTER,

0 commit comments

Comments
 (0)