summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_scroll_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_scroll_manager.c')
-rw-r--r--src/lib/elementary/efl_ui_scroll_manager.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_scroll_manager.c b/src/lib/elementary/efl_ui_scroll_manager.c
index a6bf0cda22..dd924ed0b8 100644
--- a/src/lib/elementary/efl_ui_scroll_manager.c
+++ b/src/lib/elementary/efl_ui_scroll_manager.c
@@ -1555,10 +1555,11 @@ _scroll_manager_scrollto_y_animator_del(Efl_Ui_Scroll_Manager_Data *sd)
1555static void 1555static void
1556_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) 1556_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)
1557{ 1557{
1558 _scroll_manager_scrollto_animator_del(sd); 1558 if (!sd->pan_obj || sd->freeze)
1559 1559 {
1560 if (!sd->pan_obj) return; 1560 _scroll_manager_scrollto_animator_del(sd);
1561 if (sd->freeze) return; 1561 return;
1562 }
1562 _scroll_manager_scrollto_x_animator_add(sd, sx, x, tx, interp); 1563 _scroll_manager_scrollto_x_animator_add(sd, sx, x, tx, interp);
1563 _scroll_manager_scrollto_y_animator_add(sd, sy, y, ty, interp); 1564 _scroll_manager_scrollto_y_animator_add(sd, sy, y, ty, interp);
1564} 1565}