add motion to toast

This commit is contained in:
2026-10-30 10:28:47 +07:00
parent cf400ee65c
commit c4955cca18
3 changed files with 11 additions and 7 deletions
-2
View File
@@ -194,8 +194,6 @@ impl RenderOnce for Button {
.hover(move |style| style.bg(hover))
.active(move |style| style.bg(pressed))
.focus_visible(|style| {
// Paint-only keyboard ring; the width joins the native
// metrics table when that lands.
style.shadow(vec![
BoxShadow::new(px(0.), px(0.), colors.ring).spread_radius(px(3.)),
])