forked from enlightenment/efl
elementary/scroller - Fixed scroller to not have the hold flag which causes the edje object up event block.
Please review this patch I don't know the intention why did someone add this flags on mouse up in scroller. Anyhow I tested and works fine. SVN revision: 74334
This commit is contained in:
parent
b3d52034ae
commit
5ab310ef5d
|
@ -336,3 +336,7 @@
|
|||
2012-07-23 Hermet (ChunEon Park)
|
||||
|
||||
* fixed invalid sd memory access when delete window inlined image
|
||||
|
||||
2012-07-24 Hermet (ChunEon Park)
|
||||
|
||||
* fixed scroller to not have the hold flag when mouse up happened.
|
||||
|
|
|
@ -2162,7 +2162,6 @@ _smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *ev
|
|||
#else
|
||||
t = ecore_loop_time_get();
|
||||
#endif
|
||||
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
|
||||
ax = ev->canvas.x;
|
||||
ay = ev->canvas.y;
|
||||
at = 0.0;
|
||||
|
@ -2315,10 +2314,7 @@ _smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *ev
|
|||
sd->down.scroll = EINA_FALSE;
|
||||
}
|
||||
if (sd->down.hold)
|
||||
{
|
||||
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
|
||||
sd->down.hold = EINA_FALSE;
|
||||
}
|
||||
sd->down.dragged_began = EINA_FALSE;
|
||||
sd->down.dir_x = EINA_FALSE;
|
||||
sd->down.dir_y = EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue