chore: update gpui

This commit is contained in:
2025-04-28 15:08:47 +07:00
parent 107fedeafd
commit 44f0650617
3 changed files with 108 additions and 101 deletions

View File

@@ -279,7 +279,7 @@ impl Render for Notification {
)
})
.with_animation(
ElementId::NamedInteger("slide-down".into(), closing as usize),
ElementId::NamedInteger("slide-down".into(), closing as u64),
Animation::new(Duration::from_secs_f64(0.15))
.with_easing(cubic_bezier(0.4, 0., 0.2, 1.)),
move |this, delta| {

View File

@@ -172,7 +172,7 @@ impl Element for Switch {
this.with_animation(
ElementId::NamedInteger(
"move".into(),
checked as usize,
checked as u64,
),
Animation::new(dur),
move |this, delta| {