Change default z value for nodes to 1

This commit is contained in:
grossmj committed 2018-08-08 14:33:10 +07:00
1 parent 033f005bde
commit cc52a6a6b5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class Drawing:
text, images, rectangle... They are pure SVG elements.
"""
def __init__(self, project, drawing_id=None, svg="<svg></svg>", x=0, y=0, z=0, rotation=0):
def __init__(self, project, drawing_id=None, svg="<svg></svg>", x=0, y=0, z=2, rotation=0):
self._project = project
if drawing_id is None:
self._id = str(uuid.uuid4())