From e93675a5973677a6b05e390ecbb0d0723d3faf33 Mon Sep 17 00:00:00 2001 From: raster Date: Wed, 8 Jun 2011 06:58:51 +0000 Subject: [PATCH] mark magic number as such git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60073 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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 3c3ee29..40721cb 100644 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -1717,7 +1717,7 @@ _smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *ev ax /= (i + 1); ay /= (i + 1); at /= (i + 1); - at *= 4.0; + at *= 4.0; // magic number! just trial and error shows this makes it behave "nicer" and not run off at high speed all the time dx = ev->canvas.x - ax; dy = ev->canvas.y - ay; if (at > 0) -- 2.7.4