Skip to content

Commit dc05e19

Browse files
authored
fix touchAnimation android native animation (#108)
1 parent a684333 commit dc05e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interaction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ touchAnimation = {
5454
.setStiffness(lib.SpringForce.STIFFNESS_MEDIUM)
5555
let animation = new lib.SpringAnimation(
5656
view.android,
57-
lib.DynamicAnimation().SCALE_X,
57+
lib.DynamicAnimation.SCALE_X,
5858
float(0.95)
5959
)
6060
animation.setSpring(spring).setStartVelocity(0.7).setStartValue(1.0)
@@ -80,7 +80,7 @@ touchAnimation = {
8080
.setStiffness(lib.SpringForce.STIFFNESS_MEDIUM)
8181
let animation = new lib.SpringAnimation(
8282
view.android,
83-
lib.DynamicAnimation().SCALE_X,
83+
lib.DynamicAnimation.SCALE_X,
8484
float(1)
8585
)
8686
animation.setSpring(spring).setStartVelocity(0.7).setStartValue(0.95)

0 commit comments

Comments
 (0)