no more bouncing in messages animation (#313)

This commit is contained in:
Alexander Pantyuhov 2016-10-13 11:11:58 +03:00
parent 1128e5d089
commit cfe0cb2c5d
1 changed files with 2 additions and 3 deletions

View File

@ -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))))))))