From 17478132fb2b0b004b8ed9914d5ff2ff286e5195 Mon Sep 17 00:00:00 2001 From: Jaehwan Kim Date: Thu, 14 Jul 2011 14:07:37 +0900 Subject: [PATCH] [scroller] check hold and freeze in _smart_hold_animation Change-Id: I39f126bf248147a7e0375f9f06c83f2b5216c1fa --- src/lib/els_scroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/els_scroller.c b/src/lib/els_scroller.c index dfa449a..3339801 100644 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -1723,7 +1723,7 @@ _smart_hold_animator(void *data) fx = sd->down.hold_x; fy = sd->down.hold_y; - if (_elm_config->scroll_smooth_time_interval > 0.0) + if ((!sd->hold) && (!sd->freeze) && (_elm_config->scroll_smooth_time_interval > 0.0)) { int i, count = 0; //count for the real event number we have to deal with int queue_size = 10; //for event queue size -- 2.7.4