scroller: fix getting content position.
authorHosang Kim <hosang12.kim@samsung.com>
Fri, 25 Aug 2017 05:53:09 +0000 (14:53 +0900)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Fri, 25 Aug 2017 05:53:09 +0000 (14:53 +0900)
commit4b74a4cd55ffe55ade7afaa5febbd7c5fb839a8e
tree0772c150b30d345166dce298a66299ada0bdfecf
parentaf1f4157f244f84169dc9c18785041278476f116
scroller: fix getting content position.

Summary:
Widgets that don't have content like as genlist, gengrid.
They don't have geometry of content also.
So position of pan will be used when calculating postion to scroll.

Test Plan:
tested in elementary_test and check working properly.
this may be the problem when extern pan set on scrollable interface.

Reviewers: SanghyeonLee, cedric, felipealmeida, larry, bu5hm4n

Reviewed By: SanghyeonLee

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5127
src/lib/elementary/elm_interface_scrollable.c