Revert "efl/scroll manager: stop clearing animators on every wheel event"

This reverts commit e6393393cc.

This totally break popup control in Tizen,

Please consider necessity of this patch,
further potential side effects possibilities.
This commit is contained in:
Hermet Park 2019-07-24 20:47:20 +09:00
parent ac75934d06
commit a836c73ef6
1 changed files with 4 additions and 5 deletions

View File

@ -1558,11 +1558,10 @@ _scroll_manager_scrollto_y_animator_del(Efl_Ui_Scroll_Manager_Data *sd)
static void
_scroll_manager_scrollto_animator_add(Efl_Ui_Scroll_Manager_Data *sd, Evas_Coord sx, Evas_Coord sy, Evas_Coord x, Evas_Coord y, double tx, double ty, InterpType interp)
{
if (!sd->pan_obj || sd->freeze)
{
_scroll_manager_scrollto_animator_del(sd);
return;
}
_scroll_manager_scrollto_animator_del(sd);
if (!sd->pan_obj) return;
if (sd->freeze) return;
_scroll_manager_scrollto_x_animator_add(sd, sx, x, tx, interp);
_scroll_manager_scrollto_y_animator_add(sd, sy, y, ty, interp);
}