mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-02-05 08:52:50 +02:00
"rendersize" -> "tilerendersize"
fix to match the XML.
This commit is contained in:
parent
88352cfa45
commit
50036075f5
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public abstract partial class TmxReaderBase
|
||||||
"bottomright" => ObjectAlignment.BottomRight,
|
"bottomright" => ObjectAlignment.BottomRight,
|
||||||
_ => throw new InvalidOperationException($"Unknown object alignment '{s}'")
|
_ => throw new InvalidOperationException($"Unknown object alignment '{s}'")
|
||||||
}).GetValueOr(ObjectAlignment.Unspecified);
|
}).GetValueOr(ObjectAlignment.Unspecified);
|
||||||
var renderSize = _reader.GetOptionalAttributeEnum<TileRenderSize>("rendersize", s => s switch
|
var renderSize = _reader.GetOptionalAttributeEnum<TileRenderSize>("tilerendersize", s => s switch
|
||||||
{
|
{
|
||||||
"tile" => TileRenderSize.Tile,
|
"tile" => TileRenderSize.Tile,
|
||||||
"grid" => TileRenderSize.Grid,
|
"grid" => TileRenderSize.Grid,
|
||||||
|
|
Loading…
Add table
Reference in a new issue