add comment to _get_common_attributes

This commit is contained in:
Jordan Geiser
2020-07-25 16:04:21 -04:00
parent 91ff654bf0
commit 64e4c2adb1

View File

@@ -268,6 +268,7 @@ def _get_common_attributes(raw_layer: RawLayer) -> Layer:
visible=raw_layer["visible"],
)
# if startx is present, starty is present
if raw_layer.get("startx") is not None:
common_attributes.coordinates = OrderedPair(
raw_layer["startx"], raw_layer["starty"]