scroller : fix mirrored contents_pos_set call
authorJunsuChoi <jsuya.choi@samsung.com>
Mon, 5 Jun 2017 21:09:42 +0000 (14:09 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 5 Jun 2017 21:19:34 +0000 (14:19 -0700)
commitde313d6296ac8a2d9a3c0f9762179ffd42a833ff
tree5719e5ff217a06c29d8a81dfabbb524be48f9cda
parentda5ba14664b71f19afc3359f36ff11442012d19a
scroller : fix mirrored contents_pos_set call

Summary:
Fixes that a scroller can not be moved normally even if it is changed to mirrored.
In elm_scroller, _mirrored_set is called when sizing_eval is called. because
When content size is changed, it should be scrolled based on mirrored coordinates.
Also In elm_interface_scrollable,
elm_interface_scrollable_content_pos_set of _elm_scrollable_mirrored_set
to be called regardless of mirrored state.

Test Plan: scroller test on elementary_test.

Reviewers: raster, woohyun, SanghyeonLee, akanad, eagleeye, cedric, singh.amitesh, eunue

Subscribers: cedric, jpeg

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

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