fix: 自动战斗日志时间丢失

[skip changelog]
This commit is contained in:
status102
2024-03-16 09:40:47 +08:00
parent 0d800dd49d
commit ea7c6bad9b

View File

@@ -116,7 +116,7 @@ namespace MaaWpfGui.ViewModels.UI
/// <param name="color">The font color.</param>
/// <param name="weight">The font weight.</param>
/// <param name="showTime">Wether show time.</param>
public void AddLog(string content, string color = UiLogColor.Trace, string weight = "Regular", bool showTime = false)
public void AddLog(string content, string color = UiLogColor.Trace, string weight = "Regular", bool showTime = true)
{
LogItemViewModels.Add(new LogItemViewModel(content, color, weight, "HH':'mm':'ss", showTime: showTime));
if (showTime)