docs(ui): M299 补三处与行为对齐的文档(chip 选中支、tabs 状态层、分组导航的半径实测)

只改注释,零行为变化:cargo test -p unlucky-app-iced --all-targets 全绿(1040 + 6)。
This commit is contained in:
AskaEth committed 2026-11-13 14:56:20 +08:00
1 parent 0d917e88da
commit 8144714f30
3 files changed
+16 -3

No files matched your search

+7 -3
View File
@@ -104,9 +104,13 @@ pub(super) fn group_nav<'a>(
///
/// ## 几何没动(M283 定稿的那套形状语汇)
///
/// 高 = `LM.row_height`、圆角 = [`ShapeScale::Full`](实量半径 = 高/2,就是胶囊),宽 = 列宽,
/// 内边距 `Space::X3`。本 mission 只换**颜色入口**:选中支走 [`interaction::selected_fill`],
/// 未选中支走 [`interaction::layer_color`](叠在侧列自己的卡底 `frame::BASE` 上)。
/// 高 = `LM.row_height`、圆角 = [`ShapeScale::Full`]、宽 = 列宽,内边距 `Space::X3`。**胶囊是量出来
/// 的,不是猜的**:从取证图 `DevDocs/artifacts/m299/new/settings-general-light-hover.png` 量到的
/// 选中项底色 bbox 是 y240-283(高 **44**)、x120-343,且顶边下 1px 处的横向内缩是 **15px**
/// ——半径 22 的胶囊在这个位置的内缩是 r−√(r²−(r−1)²)=15.4,半径 8 的圆角只有 4.1。所以
/// **半径 = 高/2 = 22,已经是胶囊**,本 mission 只换颜色入口:选中支走
/// [`interaction::selected_fill`],未选中支走 [`interaction::layer_color`](叠在侧列自己的卡底
/// `frame::BASE` 上)。
///
/// ## 内容色为什么还是静态的
///