lock menu eventing during menu idler positioning

ensure moving menus doesn't trigger menu item activation
This commit is contained in:
Mike Blumenkrantz 2017-08-18 15:52:52 -04:00
parent 121e7fab4b
commit f64812122f
1 changed files with 2 additions and 1 deletions

View File

@ -1154,8 +1154,9 @@ e_menu_idler_before(void)
}
m->prev.x = m->cur.x;
m->prev.y = m->cur.y;
_e_menu_lock = 1;
evas_object_move(m->comp_object, m->cur.x, m->cur.y);
_e_menu_lock = 0;
}
}
/* phase 3. show all the menus that want to be shown */