forked from enlightenment/efl
gengrid: ignore key events if item reorder is going on.
Summary: This was missed in 43eb52e159. Test Plan: elementary_test->"Gengrid Focus" and enable "reorder mode" by clicking "redorder mode enable" checkbox. Move the items by direction keys. Reviewers: raster, seoz Reviewed By: seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D801
This commit is contained in:
parent
571b60e298
commit
112d481dca
|
@ -2174,6 +2174,8 @@ _key_action_move(Evas_Object *obj, const char *params)
|
||||||
elm_interface_scrollable_content_viewport_geometry_get
|
elm_interface_scrollable_content_viewport_geometry_get
|
||||||
(NULL, NULL, &v_w, &v_h));
|
(NULL, NULL, &v_w, &v_h));
|
||||||
|
|
||||||
|
if (sd->reorder_mode && sd->reorder.running) return EINA_TRUE;
|
||||||
|
|
||||||
if (!strcmp(dir, "left"))
|
if (!strcmp(dir, "left"))
|
||||||
{
|
{
|
||||||
if (sd->reorder_mode)
|
if (sd->reorder_mode)
|
||||||
|
|
Loading…
Reference in New Issue