projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0fb2e7
)
[Scroller] Filp to cords for RTL mode in wanted_region_set
31/132731/1
author
JunsuChoi
<jsuya.choi@samsung.com>
Wed, 7 Jun 2017 04:53:40 +0000
(13:53 +0900)
committer
SangHyeon Lee
<sh10233.lee@samsung.com>
Wed, 7 Jun 2017 09:27:01 +0000
(09:27 +0000)
In RTL mode, wanted_regison_set does not change coordinates
So add code like opensource.
Change-Id: Ib332b982c2994b0995b02bc2431fcd984610e089
(cherry picked from commit
f9d1f7303e4774124098193247838b70387b1dbd
)
src/lib/elm_interface_scrollable.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_interface_scrollable.c
b/src/lib/elm_interface_scrollable.c
index 0c5c12db8f45247d6a17a016ca8e5bf46370d9f0..d0b60c3bb3898dad70ad6a22b00cc65b2dc1dc37 100644
(file)
--- a/
src/lib/elm_interface_scrollable.c
+++ b/
src/lib/elm_interface_scrollable.c
@@
-2080,6
+2080,10
@@
_elm_interface_scrollable_wanted_region_set(Eo *obj, Elm_Scrollable_Smart_Interf
sid->content_info.resized = EINA_FALSE;
+ /* Flip to RTL cords only if init in RTL mode */
+ if (sid->is_mirrored)
+ wx = _elm_scroll_x_mirrored_get(obj, sid->wx);
+
if (sid->ww == -1)
{
eo_do(obj, elm_interface_scrollable_content_viewport_geometry_get