1
0
mirror of https://github.com/wangdage12/Snap.Hutao.git synced 2026-07-31 04:10:25 +08:00

调整右键显示缺项分隔符

This commit is contained in:
mfkvfhpdx
2026-05-03 22:24:04 +08:00
parent ace17fcc7b
commit 726c4203d2
3 changed files with 4 additions and 2 deletions
@@ -394,7 +394,8 @@ internal sealed partial class CultivationService : ICultivationService
ICultivationMetadataContext context, ICultivationMetadataContext context,
Dictionary<Guid, CultivateEntry> entryByInnerId) Dictionary<Guid, CultivateEntry> entryByInnerId)
{ {
string countSuffix = $"×{item.Count}"; // 展示用量:全角括号比「×数量」更利落,且与中文混排更协调。
string countSuffix = $"\uFF08{item.Count}\uFF09";
switch (entry.Type) switch (entry.Type)
{ {
@@ -37,6 +37,7 @@ internal sealed class StatisticsConsumerMenuLine
public string? SecondName { get; private init; } public string? SecondName { get; private init; }
/// <summary>计划需求量后缀,一般为全角括号包裹的数量 <c>12</c>。</summary>
public string CountSuffix { get; private init; } = string.Empty; public string CountSuffix { get; private init; } = string.Empty;
public static StatisticsConsumerMenuLine Plain(string message) public static StatisticsConsumerMenuLine Plain(string message)
@@ -68,7 +68,7 @@ internal sealed class StatisticsCultivateItem
public bool IsToday { get => Inner.IsItemOfToday(offset, true); } public bool IsToday { get => Inner.IsItemOfToday(offset, true); }
/// <summary> /// <summary>
/// 材料统计右键浮层中按行展示的「未完成」养成条目(每人一行,名称前为角色/武器图标,<c>名×数量</c>)。 /// 材料统计右键浮层中按行展示的「未完成」养成条目(每人一行,名称前为角色/武器图标,需求量以括号标注)。
/// </summary> /// </summary>
public ImmutableArray<StatisticsConsumerMenuLine> StatisticsConsumerMenuLines { get; set; } public ImmutableArray<StatisticsConsumerMenuLine> StatisticsConsumerMenuLines { get; set; }