forked from enlightenment/enlightenment
Revert "Gadget Menu: Cancel menu after a drag *EITHER* vertically or horizontally, not *BOTH*. Fixes longpress menu interrupting drag in gadgets such as pager."
This reverts commit f56a228e70
.
This commit is contained in:
parent
326271e009
commit
63a4475497
|
@ -1545,7 +1545,7 @@ _site_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
dx = ev->cur.canvas.x - zgs->down_1_x;
|
||||
dy = ev->cur.canvas.y - zgs->down_1_y;
|
||||
if (((dx * dx) >= 3) || ((dy * dy) >= 3))
|
||||
if (((dx * dx) + (dy * dy)) >= (5 * 5))
|
||||
{
|
||||
if (zgs->down_timer)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue