[csharp] Capacity for region fields was low.

This commit is contained in:
Nathan Sweet 2020-12-20 15:37:09 -08:00
parent f8d6359b32
commit 3ee27a6b3c

View File

@ -134,7 +134,7 @@ namespace Spine {
page.pma = entry[1] == "true";
});
var regionFields = new Dictionary<string, Action>(4);
var regionFields = new Dictionary<string, Action>(8);
regionFields.Add("xy", () => { // Deprecated, use bounds.
region.x = int.Parse(entry[1], CultureInfo.InvariantCulture);
region.y = int.Parse(entry[2], CultureInfo.InvariantCulture);