forked from enlightenment/efl
Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.
This commit is contained in:
parent
f282bf9239
commit
cb8c288f42
|
@ -1433,3 +1433,7 @@
|
||||||
2013-06-18 Jaehwan Kim
|
2013-06-18 Jaehwan Kim
|
||||||
|
|
||||||
* In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce.
|
* 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.
|
||||||
|
|
|
@ -246,6 +246,7 @@ Fixes:
|
||||||
* Fix colorselector send "changed" signal twice when pressed color bar.
|
* 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.
|
* 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.
|
* 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:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -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));
|
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_h >= 0) x = sid->pagesize_h * pagenumber_h;
|
||||||
if (pagenumber_v >= 0) y = sid->pagesize_v * pagenumber_v;
|
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))
|
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));
|
eo_do(obj, elm_scrollable_interface_content_pos_set(x, y, EINA_TRUE));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue