Merge "[scroller] check hold and freeze in _smart_hold_animation"
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Mon, 18 Jul 2011 08:11:46 +0000 (17:11 +0900)
committerGerrit Code Review <git@Maetan>
Mon, 18 Jul 2011 08:11:46 +0000 (17:11 +0900)
src/lib/els_scroller.c

index dfa449a..3339801 100644 (file)
@@ -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