Merge pull request #342 from status-im/bug/#313
No more bouncing in messages animation (#313)
This commit is contained in:
commit
5a68b1d646
|
@ -273,9 +273,8 @@
|
|||
(let [to-value @to-value]
|
||||
(when (< 0 to-value)
|
||||
(anim/start
|
||||
(anim/spring val {:toValue to-value
|
||||
:friction 4
|
||||
:tension 10})
|
||||
(anim/timing val {:toValue to-value
|
||||
:duration 250})
|
||||
(fn [arg]
|
||||
(when (.-finished arg)
|
||||
(callback))))))))
|
||||
|
|
Loading…
Reference in New Issue