mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
chore: wpf各种提示 (#12930)
* chore: 给喜欢指定参数不看说明的加个提示 * chore: 给代理倍率加个? * fix: 减重繁中 * chore: KR tweak translation * i18n: EN dot symbol * feat: 带提示控件使用 TooltipBlock * chore: 调整无序列表显示 * chore: 调整显示效果 * perf: 简化自定干员提示 * fix: TooltipText 内容错误 * chore: 调整 TooltipBlock 默认 Margin * chore: 重置 TextBox InitialShowDelay 默认行为 * chore: 修改描述 * chore: 修改自动战斗描述 * perf: 优化控件布局 * feat: 新增强制Github下载描述 * chore: 调整绑定 --------- Co-authored-by: HX3N <scarlet7518@gmail.com> Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com> Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
This commit is contained in:
@@ -461,7 +461,7 @@ public class FightSettingsUserControlModel : TaskViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public Dictionary<string, int> SeriesList { get; } = new()
|
||||
public static Dictionary<string, int> SeriesList { get; } = new()
|
||||
{
|
||||
{ "AUTO", 0 },
|
||||
{ "6", 6 },
|
||||
@@ -478,7 +478,7 @@ public class FightSettingsUserControlModel : TaskViewModel
|
||||
private static int InitFightSeries()
|
||||
{
|
||||
var series = ConfigurationHelper.GetValue(ConfigurationKeys.SeriesQuantity, 0);
|
||||
if (Enumerable.Range(-1, 8).Contains(series))
|
||||
if (SeriesList.ContainsValue(series))
|
||||
{
|
||||
return series;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user