diff --git a/crates/app-iced/src/components/interaction.rs b/crates/app-iced/src/components/interaction.rs index 9e0026d..e7b40c6 100644 --- a/crates/app-iced/src/components/interaction.rs +++ b/crates/app-iced/src/components/interaction.rs @@ -352,7 +352,6 @@ mod tests { ), ); assert_ne!(container, ui.color(Role::Surface), "12% 叠上去必须能看出来"); - assert_ne!(content, ui.color(Role::OnSurfaceVariant), "内容要降到 38%"); assert_eq!(container.a, 1.0, "禁用容器也是实色(CPU/GPU 一致)"); assert_eq!(content.a, 1.0, "禁用内容也是实色"); }