elements: fix small refactoring bugs

This commit is contained in:
Julian Daube 2019-07-02 14:54:41 +02:00
parent c12d2f2219
commit 096715320b

View File

@ -34,7 +34,7 @@ class Path(Element, Drawable):
def __init__(self):
self.extendEnd = [0,0] # extend past start and end
self.width = 0
self.pathStyle = Styles.SQUARE_ENDS
self.pathStyle = Path.Styles.SQUARE_ENDS
self.points = []
@ -56,8 +56,8 @@ class Text(Element, Drawable):
# presentation
self.fontnumber = 0
self.verticalJustification = VJust.Top
self.horizontalJustification = HJust.Left
self.verticalJustification = Text.VJust.Top
self.horizontalJustification = Text.HJust.Left
# optional path info
self.pathStype = Path.Styles.SQUARE_ENDS