Summary:
The bug was there when reorder mode and sd->horizontal mode is enabled but item_loop_enable
is not set, then also the loop was occuring with right key event.
Test Plan: elementary_test -to "gengrid 2"
Reviewers: raster, seoz, eagleeye, SanghyeonLee
CC: seoz
Differential Revision: https://phab.enlightenment.org/D1121
elm_box_pack_end(hbx, bt);
evas_object_show(bt);
+ ck = elm_check_add(win);
+ elm_object_text_set(ck, "Reorder mode enable");
+ evas_object_smart_callback_add(ck, "changed", reorder_mode_cb, grid);
+ elm_box_pack_end(hbx, ck);
+ evas_object_show(ck);
+
ck = elm_check_add(win);
elm_object_text_set(ck, "Horizontal Mode");
evas_object_smart_callback_add(ck, "changed", _horizontal_grid, grid);
if (_item_horizontal_loop(obj, ELM_FOCUS_LEFT))
return EINA_TRUE;
}
- else
+ else if (sd->item_loop_enable)
{
if (_item_horizontal_loop(obj, ELM_FOCUS_UP))
return EINA_TRUE;