genlist : fix item lost highlight at the end of scroll 44/207644/5
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>
Mon, 10 Jun 2019 11:36:36 +0000 (20:36 +0900)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Mon, 10 Jun 2019 11:43:35 +0000 (20:43 +0900)
commite64eb86bc6a698b4296398ea7a9559d7414f40f7
tree390fce19ed8171ab6c96a48b1f2ee850a773d0b9
parent8a0a10a7b42935895371d2596c50c022dc25886c
genlist : fix item lost highlight at the end of scroll

adjusted item can be last item or NULL,
as the position is out of boundary,
but they are not centered item, so highlight could be disappear.
limiting the adjusted item for the previous one of last item
solve the issue.

Change-Id: Id032bb63b00c4d025653c34ce59246fa7661ae2c
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
src/lib/elementary_tizen/elm_genlist.c