mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[csharp] Capacity for region fields was low.
This commit is contained in:
parent
f8d6359b32
commit
3ee27a6b3c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user