elementary: gengrid - check the edge correctly
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 25 Oct 2016 21:12:42 +0000 (14:12 -0700)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 29 Nov 2016 12:32:35 +0000 (21:32 +0900)
commit2e7e775d3207a15220ee467d6c456d384c1807c0
tree0e953a8c4ad7df72cd4cb892a63029dbf29877b9
parentb40a8a135591f5260c035b5841f32c791e8bb2df
elementary: gengrid - check the edge correctly

Summary:
The routine of checking edge of left side, divide position by row.
Since the result of fisrt item of last line is 1, that item was not checked as edge.
This patch is for fixing it.

Test Plan:
elementary_test -to gengrid2
append items (about 6)
horizontal mode on and item loop enable
check item loop is working properly

Reviewers: cedric, jpeg, Hermet, SanghyeonLee

Subscribers: jehun.lim, SanghyeonLee, cedric, jpeg

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

Change-Id: I60331e6ad537a4114000bca0ca59e91aa3ac1c75
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
src/lib/elm_gengrid.c