From: Jaehwan Kim Date: Thu, 16 Jun 2011 00:46:57 +0000 (+0900) Subject: [els_scroller] fix wrong sequence code X-Git-Tag: REL_F_I920020110621~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dea23343bcb42d313e2a709bbb4810bb0f002a39;p=framework%2Fuifw%2Felementary.git [els_scroller] fix wrong sequence code Change-Id: I8b1a9c2f9756b5df3d2bb57c00239d2aa7ca8881 --- diff --git a/src/lib/els_scroller.c b/src/lib/els_scroller.c index 91ee4a9..6bd09f1 100644 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -498,9 +498,9 @@ _smart_scrollto_x(Smart_Data *sd, double t_in, Evas_Coord pos_x) sd->scrollto.x.t_end = t + t_in; if (!sd->scrollto.x.animator) { + sd->scrollto.x.animator = ecore_animator_add(_smart_scrollto_x_animator, sd); if (!sd->scrollto.y.animator) _smart_anim_start(sd->smart_obj); - sd->scrollto.x.animator = ecore_animator_add(_smart_scrollto_x_animator, sd); } if (sd->down.bounce_x_animator) { @@ -562,9 +562,9 @@ _smart_scrollto_y(Smart_Data *sd, double t_in, Evas_Coord pos_y) sd->scrollto.y.t_end = t + t_in; if (!sd->scrollto.y.animator) { + sd->scrollto.y.animator = ecore_animator_add(_smart_scrollto_y_animator, sd); if (!sd->scrollto.x.animator) _smart_anim_start(sd->smart_obj); - sd->scrollto.y.animator = ecore_animator_add(_smart_scrollto_y_animator, sd); } if (sd->down.bounce_y_animator) {