We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c94bc7 commit 995a6e2Copy full SHA for 995a6e2
pytiled_parser/parsers/tmx/tiled_map.py
@@ -145,8 +145,8 @@ def parse(file: Path) -> TiledMap:
145
if raw_map.attrib.get("class") is not None:
146
map_.class_ = raw_map.attrib["class"]
147
148
- _parallax_origin_x = 0
149
- _parallax_origin_y = 0
+ _parallax_origin_x = 0.0
+ _parallax_origin_y = 0.0
150
151
if raw_map.attrib.get("parallaxoriginx") is not None:
152
_parallax_origin_x = float(raw_map.attrib["parallaxoriginx"])
0 commit comments