efl_ui/scroll_manager: fix int overflow in animation duration calc
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 18 Jul 2019 17:21:26 +0000 (19:21 +0200)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 23 Jul 2019 05:04:43 +0000 (14:04 +0900)
commit637a4d098215225ff58e2391d6177baf78c90e23
tree6c4a9c7660682d0d5a64e3ad34a12b583c85f12f
parent39bfc1f0fc162cb9b9cb52c34c6bc200a6efb628
efl_ui/scroll_manager: fix int overflow in animation duration calc

Summary:
Evas_Coord is a regular int, so this will overflow easily for large
scrollers and return NaN for scroll duration and break the scroll

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9355
src/lib/elementary/efl_ui_scroll_manager.c