improve:窗口检测模型

This commit is contained in:
2026-01-01 12:09:00 +08:00
parent 94b52941af
commit 6bf439f493
2 changed files with 188 additions and 55 deletions
+2 -3
View File
@@ -842,8 +842,7 @@ namespace Ink_Canvas
{
if (_windowOverviewModel == null) return;
// 获取浮动栏的位置和大小
Application.Current.Dispatcher.Invoke(() =>
Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() =>
{
try
{
@@ -953,7 +952,7 @@ namespace Ink_Canvas
{
LogHelper.WriteLogToFile($"窗口概览模型检测失败: {ex.Message}", LogHelper.LogType.Error);
}
});
}));
}
catch (Exception ex)
{