changed id attribute of Layer to be optional because of it not being present in embedded object layers.

This commit is contained in:
Darren Eberly
2020-06-07 20:39:47 -04:00
parent e48455a329
commit 68ec66a227

View File

@@ -34,12 +34,12 @@ class Layer:
for more info.
"""
id: int
name: str
height: int
width: int
id: Optional[int] = None
offset: Optional[OrderedPair] = None
opacity: Optional[float] = 1
properties: Optional[properties_.Properties] = None