jaehwan pushed a commit to branch master.
commit a690948773e074d4ed14684b882ffb09d2f554f5
Author: Jaehwan Kim <[email protected]>
Date: Wed Jun 19 23:31:36 2013 +0900
Fix elm_scroller_page_show bug. It have to save the wanted values to show
the wanted page.
---
ChangeLog | 4 ++++
NEWS | 1 +
src/lib/elm_interface_scrollable.c | 6 ++++++
3 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 29f141e..fb9904b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/NEWS b/NEWS
index d128a96..468be13 100644
--- a/NEWS
+++ b/NEWS
@@ -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:
diff --git a/src/lib/elm_interface_scrollable.c
b/src/lib/elm_interface_scrollable.c
index 26a49dc..ca60ff2 100644
--- a/src/lib/elm_interface_scrollable.c
+++ b/src/lib/elm_interface_scrollable.c
@@ -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));
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev