From bfafe962dc7dd7f78f1bc2d7a855cf07dd54fa41 Mon Sep 17 00:00:00 2001 From: Brenton Ashworth and Craig Andera Date: Tue, 10 Jan 2012 16:14:11 -0500 Subject: [PATCH] Label now fades when input is valid. References #47. --- src/app/cljs/one/sample/animation.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cljs/one/sample/animation.cljs b/src/app/cljs/one/sample/animation.cljs index 48bb445..10f46f8 100644 --- a/src/app/cljs/one/sample/animation.cljs +++ b/src/app/cljs/one/sample/animation.cljs @@ -47,7 +47,7 @@ "Make the passed input field label invisible. Run when the input field loses focus and contains a valid input value." [label] - (play label {:effect :fade :end 0 :time 200})) + (play label {:effect :fade :start 1 :end 0 :time 200})) (def move-down [{:effect :fade :end 1 :time 200} {:effect :color :end "#BBC4D7" :time 200}