forked from enlightenment/efl
From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] signal "scroll,anim,stop" in els_scroller fix the bug which the signal "scroll,anim,stop" is not called sometimes. SVN revision: 62789
This commit is contained in:
parent
cc3791f246
commit
976085a86e
|
@ -676,7 +676,7 @@ _smart_bounce_x_animator(void *data)
|
||||||
{
|
{
|
||||||
if (sd->down.momentum_animator)
|
if (sd->down.momentum_animator)
|
||||||
sd->down.bounce_x_hold = 1;
|
sd->down.bounce_x_hold = 1;
|
||||||
else if ((!sd->down.bounce_y_animator) &&
|
if ((!sd->down.bounce_y_animator) &&
|
||||||
(!sd->scrollto.y.animator))
|
(!sd->scrollto.y.animator))
|
||||||
_smart_anim_stop(sd->smart_obj);
|
_smart_anim_stop(sd->smart_obj);
|
||||||
sd->down.bounce_x_animator = NULL;
|
sd->down.bounce_x_animator = NULL;
|
||||||
|
@ -714,7 +714,7 @@ _smart_bounce_y_animator(void *data)
|
||||||
{
|
{
|
||||||
if (sd->down.momentum_animator)
|
if (sd->down.momentum_animator)
|
||||||
sd->down.bounce_y_hold = 1;
|
sd->down.bounce_y_hold = 1;
|
||||||
else if ((!sd->down.bounce_x_animator) &&
|
if ((!sd->down.bounce_x_animator) &&
|
||||||
(!sd->scrollto.y.animator))
|
(!sd->scrollto.y.animator))
|
||||||
_smart_anim_stop(sd->smart_obj);
|
_smart_anim_stop(sd->smart_obj);
|
||||||
sd->down.bounce_y_animator = NULL;
|
sd->down.bounce_y_animator = NULL;
|
||||||
|
|
Loading…
Reference in New Issue