modal: Remove opacity animation for improve Modal appear. (#633)
This commit is contained in:
parent
2c377985bb
commit
231772ee4e
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ impl RenderOnce for Modal {
|
||||||
.with_easing(cubic_bezier(0.32, 0.72, 0., 1.)),
|
.with_easing(cubic_bezier(0.32, 0.72, 0., 1.)),
|
||||||
move |this, delta| {
|
move |this, delta| {
|
||||||
let y_offset = px(0.) + delta * px(30.);
|
let y_offset = px(0.) + delta * px(30.);
|
||||||
this.top(y + y_offset).opacity(delta)
|
this.top(y + y_offset)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue