Elementary: fixed momentum value for zoom test.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 21 Dec 2011 08:48:03 +0000 (08:48 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 21 Dec 2011 08:48:03 +0000 (08:48 +0000)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66426 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_gesture_layer3.c

index 2508a32..276b6bc 100644 (file)
@@ -316,7 +316,7 @@ zoom_end(void *_po, void *event_info)
          p->zoom, p->momentum);
 
    /* Apply the zoom-momentum or zoom out animator */
-   po->zoom_dx = p->zoom / (zoom_momentum_animation_duration * 1000);
+   po->zoom_dx = p->momentum / (zoom_momentum_animation_duration * 1000);
    if (po->zoom_dx)
      {
         po->zoom_momentum = elm_transit_add();