efl_ui_active_view_manager_*: fix bugging animation
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 30 May 2019 14:56:54 +0000 (16:56 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 3 Jun 2019 08:09:36 +0000 (17:09 +0900)
commit3d5eb6310e31148db67bd5a0d01f9e73ff986ab0
tree86386357ac2ee1df7bcd649ae6e9777f5bad65d5
parent056d92cbb32efd74ad9e48e8f44b3023b22de8fc
efl_ui_active_view_manager_*: fix bugging animation

Summary:
we should protect against multiple requests to the same "to" index.
Otherwise either the speed could increase dramatically, or we start to
oscilate arround the final position, based on the progress sign.
Those ifs here are fixing it.

fix T7988

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7988

Differential Revision: https://phab.enlightenment.org/D9056
src/lib/elementary/efl_ui_active_view_view_manager_scroll.c
src/lib/elementary/efl_ui_active_view_view_manager_stack.c