fix(app-iced): M75 r6 —— probe 删 19 行重复块 + 补第 8 行(icon·tonal) + 三处注释按 visual-r4 P2-2 更正
① 19 行重复块(第 4 次报):probe.rs 218-236 与 198-216 逐字重复(on_primary/left_ink 双层循环/ icon_pad/assert 各两遍,靠 shadowing 编过),已删;粘在一起的注释头随之消失。 滑动窗口脚本:改前 'DUP at 199 and 219' → 改后 'no 19-line duplicate'。 ② 逐行护栏补到 8 行:(7, OnSurface, true, "icon·tonal");汇总打印 '8 行通过'。 变异(该行墨迹涂回满档色)→ probe 红。 ③ 三处过期注释按 review 的 §P2-2 逐条改: - probe 模块文档 药丸顶行宽 ≈9 → 左内缩 ≈14; - 圆角推导改成像素中心闭式 inset(k)=r−√(r²−(r−k−0.5)²),r=20,k=1 给 12.40; - gallery/mod.rs 列宽注释 132 → 160(cell_width 的实际值)。
This commit is contained in:
1 parent
4954ba3463
commit
4d7b198822
2 files changed
+9
-25
No files matched your search
@@ -202,7 +202,7 @@ pub(super) fn heading<'a>(ui: &'a Ui, title: &'a str, note: &'a str) -> Element<
|
||||
|
||||
/// 状态矩阵的列头:五态的固定次序(`Interaction::ALL` 的口径)。
|
||||
///
|
||||
/// 列宽 = 按钮最常见的自然宽 132(用作矩阵栅格,不是组件尺寸)。
|
||||
/// 列宽 = [`cell_width`](**160** = `Space::X8 × 5`,是矩阵栅格,不是组件尺寸)。
|
||||
pub(super) fn state_cells(ui: &Ui) -> Vec<(&'static str, f32)> {
|
||||
Interaction::ALL
|
||||
.iter()
|
||||
|
||||
Reference in new issue
Block a user