summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyotiprakash Sahoo <jp.sahoo@samsung.com>2015-08-11 22:08:21 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2015-08-28 17:39:34 +0530
commit076885a247481d3e79bcfb9d1594ec16d65d8696 (patch)
treed22aa8183d33340c2203f7fbc724b6294d3ee1de
parentec672ab1135f154dd61741f0ff29ebe4f51f5d6b (diff)
gengrid: extends D2418 to horizontal mode.
Summary: do not return yet in case of edge items if looping is disabled. try to select/focus last item. Signed-off-by: Jyotiprakash Sahoo <jp.sahoo@samsung.com> @fix Test Plan: elementary_test -> Gengrid 2 Reviewers: raster, singh.amitesh, cedric, SanghyeonLee Reviewed By: SanghyeonLee Differential Revision: https://phab.enlightenment.org/D2865
-rw-r--r--src/lib/elm_gengrid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 010c099df..64ac25425 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -3157,7 +3157,6 @@ _key_action_move(Evas_Object *obj, const char *params)
3157 if (_item_horizontal_loop(obj, ELM_FOCUS_UP)) 3157 if (_item_horizontal_loop(obj, ELM_FOCUS_UP))
3158 return EINA_TRUE; 3158 return EINA_TRUE;
3159 } 3159 }
3160 return EINA_FALSE;
3161 } 3160 }
3162 if (!_elm_config->item_select_on_focus_disable) 3161 if (!_elm_config->item_select_on_focus_disable)
3163 { 3162 {