fix: 延迟显示通知以避免截图包含通知
Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com>
This commit is contained in:
@@ -356,7 +356,13 @@ namespace Ink_Canvas
|
||||
|
||||
if (!isHideNotification)
|
||||
{
|
||||
ShowNotification($"截图成功保存至 {savePath}");
|
||||
Task.Delay(100).ContinueWith(t =>
|
||||
{
|
||||
Dispatcher.Invoke(() =>
|
||||
{
|
||||
ShowNotification($"截图成功保存至 {savePath}");
|
||||
});
|
||||
});
|
||||
}
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user