Code cleanup.

This commit is contained in:
2023-01-31 15:06:31 +08:00
parent 5514b6cf37
commit 776a615464
9 changed files with 49 additions and 60 deletions

View File

@@ -37,7 +37,7 @@ namespace Cryville.Crtr.Event {
}
void AddEventContainer(EventContainer c, ContainerState parent = null) {
var cs = new ContainerState(chart, c, parent);
var cs = new ContainerState(c, parent);
stateMap.Add(c, cs);
if (parent == null) {
cs.Depth = 0;