fixes tests
This commit is contained in:
parent
9246d7df21
commit
499cd393ad
|
@ -53,7 +53,4 @@
|
||||||
(defn get-layout [value-xy]
|
(defn get-layout [value-xy]
|
||||||
(js->clj (.getLayout value-xy)))
|
(js->clj (.getLayout value-xy)))
|
||||||
|
|
||||||
(defn create-value-xy [x y]
|
(defn easing [] js/ReactNative.Easing)
|
||||||
(js/ReactNative.Animated.ValueXY. (clj->js {:x x, :y y})))
|
|
||||||
|
|
||||||
(def easing js/ReactNative.Easing)
|
|
|
@ -8,5 +8,5 @@
|
||||||
[(animation/timing opacity-value {:toValue 1
|
[(animation/timing opacity-value {:toValue 1
|
||||||
:duration 500})
|
:duration 500})
|
||||||
(animation/timing bottom-value {:toValue 8.5
|
(animation/timing bottom-value {:toValue 8.5
|
||||||
:easing (.bezier animation/easing 0.685, 0.000, 0.025, 1.185)
|
:easing (.bezier (animation/easing) 0.685, 0.000, 0.025, 1.185)
|
||||||
:duration 500})]))))
|
:duration 500})]))))
|
|
@ -7,5 +7,5 @@
|
||||||
[(animation/timing opacity-value {:toValue 1
|
[(animation/timing opacity-value {:toValue 1
|
||||||
:duration 500})
|
:duration 500})
|
||||||
(animation/timing bottom-value {:toValue 53
|
(animation/timing bottom-value {:toValue 53
|
||||||
:easing (.bezier animation/easing 0.685, 0.000, 0.025, 1.185)
|
:easing (.bezier (animation/easing) 0.685, 0.000, 0.025, 1.185)
|
||||||
:duration 500})])))
|
:duration 500})])))
|
Loading…
Reference in New Issue