elm_scroller: update behaviour to match legacy behaviour more closely
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 28 Nov 2018 13:17:28 +0000 (14:17 +0100)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:54:36 +0000 (14:54 +0900)
commit27809709cc4782a15ab9e0f0ba983946df59f3d8
tree09f5fc8fefc299637d4f5aba6b8903e1b88eddaa
parent72b65a994d90daf3fec93158a5b18e6b1e8a6b0d
elm_scroller: update behaviour to match legacy behaviour more closely

This implements scrolling the scroller when the scroller is not in the
maximum position of the requested relation, but there is no more focus
object in that relation.

Summing up, the scroller is scrolled manually, when the focus object is
not fitting in the viewport, and the object is beeing out of the
viewport in the requested direction. Or the scroller is not at its max
position in the requested direction, and there is no more focusable
object in this requested direction.

ref T6804

Differential Revision: https://phab.enlightenment.org/D7382
src/bin/elementary/test.c
src/bin/elementary/test_scroller.c
src/lib/elementary/elm_scroller.c