优化代码

This commit is contained in:
2025-09-13 19:29:17 +08:00
parent 879dfcea28
commit 98663422b1
6 changed files with 86 additions and 51 deletions
-2
View File
@@ -86,7 +86,6 @@ namespace Ink_Canvas.Helpers
{
_mainWindow.PPTBtnPageNow.Text = currentSlide.ToString();
_mainWindow.PPTBtnPageTotal.Text = $"/ {totalSlides}";
LogHelper.WriteLogToFile($"更新PPT页码显示: {currentSlide}/{totalSlides}", LogHelper.LogType.Trace);
}
else
{
@@ -127,7 +126,6 @@ namespace Ink_Canvas.Helpers
{
_mainWindow.PPTBtnPageNow.Text = currentSlide.ToString();
_mainWindow.PPTBtnPageTotal.Text = $"/ {totalSlides}";
LogHelper.WriteLogToFile($"更新PPT页码显示: {currentSlide}/{totalSlides}", LogHelper.LogType.Trace);
}
else
{