Elm glayer: Fixed bug in non-continues mode.

Line and Momentum START was effected by mouse-over fix.

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 64950
This commit is contained in:
Aharon Hillel 2011-11-08 13:09:14 +00:00 committed by Tom Hacohen
parent 14e60a2e4f
commit 9fe4fc1d3d
1 changed files with 2 additions and 2 deletions

View File

@ -1716,7 +1716,7 @@ _momentum_test(Evas_Object *obj, Pointer_Event *pe,
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
if (!eina_list_count(wd->touched))
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */
Momentum_Type *st = gesture->data;
@ -1967,7 +1967,7 @@ _n_line_test(Evas_Object *obj, Pointer_Event *pe, void *event_info,
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
if (!eina_list_count(wd->touched))
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */
Line_Type *st = gesture->data;