perf(wpf): 每日关卡小提示中复合掉落关卡仅在存在任意有效库存信息时, 显示库存

This commit is contained in:
status102
2026-03-11 13:33:15 +08:00
parent 9eb589c164
commit a8a3a912c4

View File

@@ -705,7 +705,8 @@ public class StageManager
}
// Drop groups tips (for chip stages like PR-A-1/2)
if (stage.DropGroups != null && stage.DropGroups.Count > 0)
if (stage.DropGroups != null && stage.DropGroups.Count > 0
&& stage.DropGroups.SelectMany(i => i).Select(dropId => Instances.ToolboxViewModel?.DepotResult?.FirstOrDefault(d => d.Id == dropId)?.Count).Any(x => x >= 0))
{
var groupTexts = new List<string>();
foreach (var dropGroup in stage.DropGroups)