Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.

This commit is contained in:
Jaehwan Kim 2013-06-19 23:31:36 +09:00
parent f282bf9239
commit cb8c288f42
3 changed files with 11 additions and 0 deletions

View File

@ -1433,3 +1433,7 @@
2013-06-18 Jaehwan Kim
* In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce.
2013-06-19 Jaehwan Kim
* Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.

View File

@ -246,6 +246,7 @@ Fixes:
* Fix colorselector send "changed" signal twice when pressed color bar.
* Keep the smart members of the naviframe views whenever resize object is changed. This prevents the dangling view objects of the naviframe and keep the layer consistency.
* In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce.
* Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.
Removals:

View File

@ -4349,6 +4349,12 @@ _elm_scroll_page_show(Eo *obj, void *_pd, va_list *list)
eo_do(sid->obj, elm_scrollable_interface_content_viewport_size_get(&w, &h));
if (pagenumber_h >= 0) x = sid->pagesize_h * pagenumber_h;
if (pagenumber_v >= 0) y = sid->pagesize_v * pagenumber_v;
sid->wx = x;
sid->wy = y;
sid->ww = w;
sid->wh = h;
if (_elm_scroll_content_region_show_internal(obj, &x, &y, w, h))
eo_do(obj, elm_scrollable_interface_content_pos_set(x, y, EINA_TRUE));