elm_scroller: keep contents layout rel even if rtl is set
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 7 Feb 2017 23:03:45 +0000 (15:03 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 7 Feb 2017 23:14:54 +0000 (15:14 -0800)
commit990afa25c34c0dda472d6f41117c2e77861b1b75
treeffdaef5144a05e3137be90988521e43e1c8b7928
parent669d95252a6a31660f43f075e743ecde316f7fb6
elm_scroller: keep contents layout rel even if rtl is set

Summary:
Once rtl mode is set, elm_layout reverses its x-axis.
however, scroller uses elm_layout to contain both original content and
proxy image of it when loop mode is set.

In this situation, elm_layout should not reverse its x-axis when It is
used for container of proxy to support loop mode of scroller.

This commit will not apply rtl mode to contents layout (mirrored set)

Test Plan:
* Check that there is a proxy image over right edge of original content.

1. Run elementary_test
2. Open scroller
3. Switch UI_mirrored mode on
4. Test (Control with keyboard / mouse wheel control looks bad on rtl mod)
   a. go to the right edge with keyboard
   b. get over the edge

Reviewers: woohyun, z-wony, jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D4568

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elementary/elm_scroller.c