docs(design): M228 复审 r2 两处文档口径(Ink 矩阵上限、测试指针)

P2-1 统一全矩阵口径:palette/visibility.rs 实测表 Ink 行第二列「1.54 ~ 12.13」是旧的「对
surface-container-highest 单一层」量法,改成 4×5 全矩阵(4 个状态容器 × 5 个容器层)的上限
**16.47**(primary-container 压 surface-container-lowest),下限 1.54(secondary-container 压
highest)不变——Silver 行本来就是全矩阵(1.02 ~ 1.80),现在两行同口径。表头补「4×5 全矩阵」
说明,避免下次又被按单层读。

P2-2 修正失效指针:visibility.rs 模块文档的「实测」小节把测试指向
`tests/ink_cat_boards.rs`,但容器层可视性那几条在 r1 返工时已搬到
`tests/ink_cat_visibility.rs` —— 改指后者。boards/mod.rs:42 的「26 组文字/图标对
(tests/ink_cat_boards.rs)」仍正确,未动。

纯文档两行,无数值/代码变更。fmt --all --check=0;test -p unlucky-design --all-targets=0
(267 passed = 186 lib + 81 集成;ink_cat_boards 7 / ink_cat_visibility 4 / ink_cat_geometry 3)。
This commit is contained in:
AskaEth committed 2026-11-10 22:34:05 +08:00
1 parent b8003177d7
commit 15309394ac
1 file changed
+3 -3
+3 -3
View File
@@ -24,11 +24,11 @@
//! 第 3 条为什么不是「把阈值降到 1.02 就完事」:那样等于承认「选中态可以看不见」, //! 第 3 条为什么不是「把阈值降到 1.02 就完事」:那样等于承认「选中态可以看不见」,
//! 而用户抱怨的正是这个。把不可测的那一半转成**构成要求**,才是能落地的那一半。 //! 而用户抱怨的正是这个。把不可测的那一半转成**构成要求**,才是能落地的那一半。
//! //!
//! ## 实测(`tests/ink_cat_boards.rs` 守住第 2 条与阶梯) //! ## 实测(`tests/ink_cat_visibility.rs` 守住第 2 条与阶梯)
//! //!
//! | 板 | 最弱状态容器 / `surface` | 状态容器 / 容器层(最低 ~ 最高) | 阶梯 L\\* 步长 | //! | 板 | 最弱状态容器 / `surface` | 状态容器 / 容器层(4×5 全矩阵,最低 ~ 最高) | 阶梯 L\\* 步长 |
//! |---|---|---|---| //! |---|---|---|---|
//! | Ink | **1.97**(secondary-container) | 1.54 ~ 12.13 | +1.4 ~ +4.4 | //! | Ink | **1.97**(secondary-container) | 1.54 ~ **16.47** | +1.4 ~ +4.4 |
//! | Silver | **1.23**(tertiary/error-container) | **1.02** ~ 1.80 | −1.7 ~ −4.1 | //! | Silver | **1.23**(tertiary/error-container) | **1.02** ~ 1.80 | −1.7 ~ −4.1 |
//! | 旧 baseline(债务现场) | 1.23 | **1.057**(对卡片,m223 实测) | — | //! | 旧 baseline(债务现场) | 1.23 | **1.057**(对卡片,m223 实测) | — |
//! //!