From 200f904a6408053b1754dd6e3035237462b109e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Thu, 29 Jan 2026 00:17:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=BA=A7=E5=88=AB=E5=8F=8AUI=E5=85=83=E7=B4=A0=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将米游社地图接口调用失败日志级别从Warning降为Debug,避免频繁警告干扰 调整日志文本框和状态列表的顶部位置及宽度比例,优化界面布局 --- BetterGenshinImpact/Core/Config/MaskWindowConfig.cs | 8 ++++---- BetterGenshinImpact/Service/MaskMapPointService.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BetterGenshinImpact/Core/Config/MaskWindowConfig.cs b/BetterGenshinImpact/Core/Config/MaskWindowConfig.cs index cf14c8a7..98cfccd1 100644 --- a/BetterGenshinImpact/Core/Config/MaskWindowConfig.cs +++ b/BetterGenshinImpact/Core/Config/MaskWindowConfig.cs @@ -83,10 +83,10 @@ public partial class MaskWindowConfig : ObservableObject private double _logTextBoxLeftRatio = 20.0 / 1920; [ObservableProperty] - private double _logTextBoxTopRatio = 832.0 / 1080; + private double _logTextBoxTopRatio = 822.0 / 1080; [ObservableProperty] - private double _logTextBoxWidthRatio = 477.0 / 1920; + private double _logTextBoxWidthRatio = 480.0 / 1920; [ObservableProperty] private double _logTextBoxHeightRatio = 188.0 / 1080; @@ -95,10 +95,10 @@ public partial class MaskWindowConfig : ObservableObject private double _statusListLeftRatio = 20.0 / 1920; [ObservableProperty] - private double _statusListTopRatio = 807.0 / 1080; + private double _statusListTopRatio = 790.0 / 1080; [ObservableProperty] - private double _statusListWidthRatio = 477.0 / 1920; + private double _statusListWidthRatio = 480.0 / 1920; [ObservableProperty] private double _statusListHeightRatio = 24.0 / 1080; diff --git a/BetterGenshinImpact/Service/MaskMapPointService.cs b/BetterGenshinImpact/Service/MaskMapPointService.cs index 07487314..2043b653 100644 --- a/BetterGenshinImpact/Service/MaskMapPointService.cs +++ b/BetterGenshinImpact/Service/MaskMapPointService.cs @@ -190,7 +190,7 @@ public sealed class MaskMapPointService : IMaskMapPointService } catch (Exception ex) { - _logger.LogWarning(ex, "调用米游社地图接口获取点位列表失败"); + _logger.LogDebug(ex, "调用米游社地图接口获取点位列表失败"); return new MaskMapPointsResult { Labels = labels, Points = Array.Empty() }; }