From 6f069b73da8bc34e5e6c3a0197bbfc9905776f32 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Thu, 2 Oct 2025 19:20:03 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E5=90=AF=E5=8A=A8=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/App.xaml.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Ink Canvas/App.xaml.cs b/Ink Canvas/App.xaml.cs index 396a012e..5bc6ea61 100644 --- a/Ink Canvas/App.xaml.cs +++ b/Ink Canvas/App.xaml.cs @@ -912,12 +912,20 @@ namespace Ink_Canvas { if (_isSplashScreenShown) { - SetSplashMessage("启动完成!"); - SetSplashProgress(100); - // 延迟关闭启动画面,让用户看到完成消息 - Task.Delay(500).ContinueWith(_ => + SetSplashMessage("正在完成初始化..."); + SetSplashProgress(90); + Task.Delay(300).ContinueWith(_ => { - Dispatcher.Invoke(() => CloseSplashScreen()); + Dispatcher.Invoke(() => + { + SetSplashMessage("启动完成!"); + SetSplashProgress(100); + // 延迟关闭启动画面,让用户看到完成消息 + Task.Delay(500).ContinueWith(__ => + { + Dispatcher.Invoke(() => CloseSplashScreen()); + }); + }); }); } };