From 096715320be206ac71faa3f2ac43318a5b2984e5 Mon Sep 17 00:00:00 2001 From: Julian Daube Date: Tue, 2 Jul 2019 14:54:41 +0200 Subject: [PATCH] elements: fix small refactoring bugs --- gds/elements.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gds/elements.py b/gds/elements.py index fa9f0b4..1de7634 100644 --- a/gds/elements.py +++ b/gds/elements.py @@ -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