summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_interface_scrollable.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elm_interface_scrollable.c b/src/lib/elm_interface_scrollable.c
index aecb77ff7..981ff0095 100644
--- a/src/lib/elm_interface_scrollable.c
+++ b/src/lib/elm_interface_scrollable.c
@@ -948,6 +948,13 @@ _elm_scroll_scroll_bar_read_and_update(
948 x = _round(vx * (double)mx + minx, 1); 948 x = _round(vx * (double)mx + minx, 1);
949 y = _round(vy * (double)my + miny, 1); 949 y = _round(vy * (double)my + miny, 1);
950 eo_do(sid->pan_obj, elm_obj_pan_pos_get(&px, &py)); 950 eo_do(sid->pan_obj, elm_obj_pan_pos_get(&px, &py));
951
952 if (!sid->freeze && _paging_is_enabled(sid))
953 {
954 x = _elm_scroll_page_x_get(sid, x - px, EINA_FALSE);
955 y = _elm_scroll_page_y_get(sid, y - py, EINA_FALSE);
956 }
957
951 eo_do(sid->pan_obj, elm_obj_pan_pos_set(x, y)); 958 eo_do(sid->pan_obj, elm_obj_pan_pos_set(x, y));
952 if ((px != x) || (py != y)) 959 if ((px != x) || (py != y))
953 { 960 {