gengrid: fix item looping in case of horizontal mode

This mistake is done in a8afaebf3109f1cb8e397e29
This commit is contained in:
Amitesh Singh 2015-08-28 10:34:52 +05:30
parent d0e081395f
commit 3e6351541f
1 changed files with 4 additions and 1 deletions

View File

@ -3080,7 +3080,10 @@ _key_action_move(Evas_Object *obj, const char *params)
if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_LEFT))
{
if (sd->item_loop_enable)
return EINA_TRUE;
{
if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
return EINA_TRUE;
}
return EINA_FALSE;
}
if (!_elm_config->item_select_on_focus_disable)