fix: 延迟显示通知以避免截图包含通知

Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>
This commit is contained in:
doudou0720
2026-02-23 23:08:52 +08:00
parent ccd9398a53
commit 7deb5b1aae
2 changed files with 67 additions and 7 deletions
+7 -1
View File
@@ -356,7 +356,13 @@ namespace Ink_Canvas
if (!isHideNotification)
{
ShowNotification($"截图成功保存至 {savePath}");
Task.Delay(100).ContinueWith(t =>
{
Dispatcher.Invoke(() =>
{
ShowNotification($"截图成功保存至 {savePath}");
});
});
}
_ = Task.Run(async () =>
{