Commit b930bb8a authored by Ludovic Fauvet's avatar Ludovic Fauvet

video player: start gesture detection below the indicator space

This is made to avoid lowering the sound accidently when trying to show
the indicator bar.
parent 11d11845
......@@ -491,6 +491,9 @@ line_start(void *data, void *event_info)
p->angle, p->momentum.x1, p->momentum.y1, p->momentum.x2, p->momentum.y2,
p->momentum.tx, p->momentum.ty, p->momentum.n);
if (p->momentum.y1 < 50 || p->momentum.y2 < 50)
return EVAS_EVENT_FLAG_NONE;
view_sys *p_sys = data;
if (p->momentum.n == 1 && (p->angle > 315 || p->angle < 45 || (p->angle > 135 && p->angle < 225)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment