if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_LEFT))
{
if (sd->item_loop_enable)
- {
- if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
- return EINA_TRUE;
- }
+ return EINA_TRUE;
return EINA_FALSE;
}
if (!sd->horizontal)
if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_LEFT))
{
if (sd->item_loop_enable)
- {
- if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
- return EINA_TRUE;
- }
+ return EINA_TRUE;
return EINA_FALSE;
}
if (!_elm_config->item_select_on_focus_disable)
if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_RIGHT))
{
- if (sd->item_loop_enable && !sd->horizontal)
- {
- if (_item_horizontal_loop(obj, ELM_FOCUS_LEFT))
- return EINA_TRUE;
- }
- else if (sd->item_loop_enable)
- {
- if (_item_horizontal_loop(obj, ELM_FOCUS_UP))
- return EINA_TRUE;
- }
+ if (sd->item_loop_enable)
+ return EINA_TRUE;
return EINA_FALSE;
}
if (!sd->horizontal)
{
if (_item_horizontal_loop(obj, ELM_FOCUS_UP))
return EINA_TRUE;
- }
+ }
}
if (!_elm_config->item_select_on_focus_disable)
{