improve:PPT模块

This commit is contained in:
2026-03-21 16:41:39 +08:00
parent 037bcf6007
commit b4c753dfb4
+3 -3
View File
@@ -1186,7 +1186,7 @@ namespace Ink_Canvas
int prev = _previousSlideID;
Application.Current.Dispatcher.Invoke(() =>
Application.Current.Dispatcher.InvokeAsync(() =>
{
var ms = new MemoryStream();
inkCanvas.Strokes.Save(ms);
@@ -1228,7 +1228,7 @@ namespace Ink_Canvas
}).ContinueWith(t =>
{
if (t.IsFaulted || t.Result == null) return;
Application.Current.Dispatcher.Invoke(() =>
Application.Current.Dispatcher.InvokeAsync(() =>
{
if (_currentSlideShowPosition != loadingPage) return;
inkCanvas.Strokes.Add(t.Result);
@@ -2594,4 +2594,4 @@ namespace Ink_Canvas
BtnPPTSlideShowEnd_Click(BtnPPTSlideShowEnd, null);
}
}
}
}