优化代码

This commit is contained in:
2025-10-01 12:57:16 +08:00
parent 66164a0c33
commit 3a7417f493
5 changed files with 0 additions and 12 deletions
-1
View File
@@ -2961,7 +2961,6 @@ namespace Ink_Canvas
}
// 重新计算浮动栏位置,因为按钮可见性变化会影响浮动栏宽度
// 修复:移除浮动栏收起状态检查,确保在收起状态下也能正确修正位置
if (currentMode == 0) // 只在屏幕模式下重新计算浮动栏位置
{
if (BtnPPTSlideShowEnd.Visibility == Visibility.Visible)