efl_ui_pan: emit position changed when content is resized
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 25 Jul 2019 18:54:49 +0000 (20:54 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:48:34 +0000 (10:48 +0900)
commit19da89f4dd34269c9e55ce80681fc2aaea963a76
treebc848785ff607ffda5f92a987598a139fc1ed535
parent3bda4361aa8790a2e826e34079eade85062efc2c
efl_ui_pan: emit position changed when content is resized

even if the position is not really changed here, the min / max relation
has changed. If we do not emit this event here, every user (that
calculates a relative position) would have to monitor the pan position
and the size of the content. This simplifies the given usecase, and
fixes the scroller position when new items are added to the collection.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9411
src/lib/elementary/efl_ui_pan.c