Skip to content

Commit

Permalink
Fix incorrect default value for addText
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Feb 27, 2023
1 parent 71bcf76 commit e554018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kikit/panelize.py
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ def addKeepout(self, area, noTracks=True, noVias=True, noCopper=True):
self.board.Add(zone)
return zone

def addText(self, text, position, orientation=0,
def addText(self, text, position, orientation=fromDegrees(0),
width=fromMm(1.5), height=fromMm(1.5), thickness=fromMm(0.3),
hJustify=EDA_TEXT_HJUSTIFY_T.GR_TEXT_HJUSTIFY_CENTER,
vJustify=EDA_TEXT_VJUSTIFY_T.GR_TEXT_VJUSTIFY_CENTER,
Expand Down

0 comments on commit e554018

Please sign in to comment.