summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_scroller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_scroller.c')
-rw-r--r--src/bin/elementary/test_scroller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_scroller.c b/src/bin/elementary/test_scroller.c
index 826f064..45991c4 100644
--- a/src/bin/elementary/test_scroller.c
+++ b/src/bin/elementary/test_scroller.c
@@ -491,8 +491,8 @@ _bounce_cb(void *data)
491 if (!bounce->y1) 491 if (!bounce->y1)
492 { 492 {
493 elm_interface_scrollable_bounce_allow_set(bounce->scroller, 0, 1); 493 elm_interface_scrollable_bounce_allow_set(bounce->scroller, 0, 1);
494 efl_gfx_position_get(bounce->it1, NULL, &bounce->y1); 494 bounce->y1 = efl_gfx_position_get(bounce->it1).y;
495 efl_gfx_position_get(bounce->it2, NULL, &bounce->y2); 495 bounce->y2 = efl_gfx_position_get(bounce->it2).y;
496 } 496 }
497 497
498 bounce->state++; 498 bounce->state++;