mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-10 15:46:35 +00:00
no more bouncing in messages animation (#313)
Former-commit-id: cfe0cb2c5d061413e66ff2ef4cfd781477175a4f
This commit is contained in:
parent
84aea91b99
commit
3eb305208f
@ -251,9 +251,8 @@
|
|||||||
(let [to-value @to-value]
|
(let [to-value @to-value]
|
||||||
(when (< 0 to-value)
|
(when (< 0 to-value)
|
||||||
(anim/start
|
(anim/start
|
||||||
(anim/spring val {:toValue to-value
|
(anim/timing val {:toValue to-value
|
||||||
:friction 4
|
:duration 250})
|
||||||
:tension 10})
|
|
||||||
(fn [arg]
|
(fn [arg]
|
||||||
(when (.-finished arg)
|
(when (.-finished arg)
|
||||||
(callback))))))))
|
(callback))))))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user