Оно собралось!

This commit is contained in:
2025-05-13 23:12:24 +04:00
parent 83ee914991
commit 1b76893b32
45 changed files with 5032 additions and 4763 deletions
+3 -1
View File
@@ -95,6 +95,8 @@ internal class ProcessorCollection
/// </summary>
public void SortItems()
{
Items.ForEach(item => item.Priority = -1);
Dictionary<string, int> priorities = [];
while (priorities.Count < Items.Count)
@@ -115,7 +117,7 @@ internal class ProcessorCollection
continue;
}
item.Priority = Math.Min(
item.Priority = Math.Max(
dependencyPriorities.Any() ? dependencyPriorities.Max() + 1 : 1,
(int)item.Group * 100
);