优化: 清理编号注释

This commit is contained in:
lxy
2026-08-12 00:47:45 +08:00
parent 7a1e80eac2
commit 4ad78abad6
7 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ async function syncToMain() {
if (screenWidth > 0) {
targetX = screenWidth - AI_DOCK_WIDTH - AI_DOCK_GAP
}
// FIX-17 P2-5: 最大化时 targetHeight = size.height, height > height 恒 false,
// 最大化时 targetHeight = size.height, height > height 恒 false,
// 原三元是无操作死代码,已移除。
} else if (screenWidth > 0 && targetX + AI_DOCK_WIDTH > screenWidth) {
// 非最大化但主+AI 超屏幕:AI 窗口本身让位(缩窄或往左偏),不动主窗口。