mirror of
https://github.com/wangdage12/Snap.Hutao.git
synced 2026-07-31 04:10:25 +08:00
调整右键显示缺项分隔符
This commit is contained in:
@@ -394,7 +394,8 @@ internal sealed partial class CultivationService : ICultivationService
|
||||
ICultivationMetadataContext context,
|
||||
Dictionary<Guid, CultivateEntry> entryByInnerId)
|
||||
{
|
||||
string countSuffix = $"×{item.Count}";
|
||||
// 展示用量:全角括号比「×数量」更利落,且与中文混排更协调。
|
||||
string countSuffix = $"\uFF08{item.Count}\uFF09";
|
||||
|
||||
switch (entry.Type)
|
||||
{
|
||||
|
||||
@@ -37,6 +37,7 @@ internal sealed class StatisticsConsumerMenuLine
|
||||
|
||||
public string? SecondName { get; private init; }
|
||||
|
||||
/// <summary>计划需求量后缀,一般为全角括号包裹的数量 <c>(12)</c>。</summary>
|
||||
public string CountSuffix { get; private init; } = string.Empty;
|
||||
|
||||
public static StatisticsConsumerMenuLine Plain(string message)
|
||||
|
||||
@@ -68,7 +68,7 @@ internal sealed class StatisticsCultivateItem
|
||||
public bool IsToday { get => Inner.IsItemOfToday(offset, true); }
|
||||
|
||||
/// <summary>
|
||||
/// 材料统计右键浮层中按行展示的「未完成」养成条目(每人一行,名称前为角色/武器图标,<c>名×数量</c>)。
|
||||
/// 材料统计右键浮层中按行展示的「未完成」养成条目(每人一行,名称前为角色/武器图标,需求量以括号标注)。
|
||||
/// </summary>
|
||||
public ImmutableArray<StatisticsConsumerMenuLine> StatisticsConsumerMenuLines { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user