Code cleanup.

This commit is contained in:
2023-01-14 22:03:08 +08:00
parent 4fdd4e1935
commit c39f258a19
4 changed files with 8 additions and 10 deletions

View File

@@ -538,10 +538,10 @@ namespace Cryville.Crtr {
foreach (var ts in gs.Value.Children) {
ContainerHandler th;
if (ts.Key is Chart.Note) {
th = new NoteHandler(gh, (Chart.Note)ts.Key, pruleset);
th = new NoteHandler((Chart.Note)ts.Key, gh);
}
else {
th = new TrackHandler(gh, (Chart.Track)ts.Key);
th = new TrackHandler((Chart.Track)ts.Key, gh);
}
ts.Value.AttachHandler(th);
}