elm_interface_scrollable: change return value for post events.
authorHosang Kim <hosang12.kim@samsung.com>
Fri, 25 May 2018 17:04:49 +0000 (10:04 -0700)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 03:53:02 +0000 (12:53 +0900)
commit768a1a4075f72991509eac1c45d3a87e00eb4d53
tree1f731d1c8ca5e8148c1e49c077d8daad0f086577
parent620350ad2ef04fe36bd92a9d38daf85dbafe61fe
elm_interface_scrollable: change return value for post events.

Summary:
1. Scroller in scroller case, callback process should continue.
     If child scroller does not scroll, parent scroller should be checked whether scroll or not.
     So returning EINA_TRUE is necessary.
2. down.dragged flag is always EINA_FALSE, so scroll is never unlocked.
@fix

Test Plan:
precondition
  elementary_config -> scrolling -> Set Scroll Smooth Amount to 0
elementary_test -> pagescroller

Reviewers: woohyun, zmike, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: #committers, cedric, zmike

Tags: #efl

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

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