diff --git a/docs/plans/2026-10-29-mygoland-design.md b/docs/plans/2026-10-29-mygoland-design.md index 2d2bf3c..9cb4595 100644 --- a/docs/plans/2026-10-29-mygoland-design.md +++ b/docs/plans/2026-10-29-mygoland-design.md @@ -2246,7 +2246,7 @@ button press,focus 405,134 关闭其他(1) button press,focus 405,159 关闭全部(2) button press,focus 405,194 关闭已保存的(2) ``` -(末标签没有「关闭右边」,符合 `idx < n-1` 的判断。) +(末标签没有「关闭右边」,符合 `idx < n-1` 的判断。)截图存 `docs/tab-context-menu-restored.png`。 新增 `tabmenu_test.go` 8 个单测:docIndex、savedPaths、中间/首/末/单标签的条目集合、 全脏时「关闭已保存的」置灰、路径不存在返回 nil、区间越界不 panic。 diff --git a/docs/tab-context-menu-restored.png b/docs/tab-context-menu-restored.png new file mode 100644 index 0000000..595bb9a Binary files /dev/null and b/docs/tab-context-menu-restored.png differ