Elm Glayer: Changed start-time of zoom-momentum

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66432
This commit is contained in:
Aharon Hillel 2011-12-21 08:48:25 +00:00 committed by Tom Hacohen
parent e27515a530
commit 1eb59833c5
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#define ELM_MOUSE_DEVICE 0
/* ELM_GESTURE_NEGATIVE_ANGLE - magic number says we didn't compute this yet */
#define ELM_GESTURE_NEGATIVE_ANGLE (-1.0) /* Magic number */
#define ELM_GESTURE_MOMENTUM_DELAY 25
#define ELM_GESTURE_MOMENTUM_TIMEOUT 50
#define ELM_GESTURE_MULTI_TIMEOUT 50
#define ELM_GESTURE_MINIMUM_MOMENTUM 0.001
@ -2404,7 +2405,7 @@ _zoom_momentum_get(Zoom_Type *st, unsigned int tm_end, double zoom_val)
return 0.0;
}
if ((tm_end - ELM_GESTURE_MOMENTUM_TIMEOUT) < st->m_st_tm)
if ((tm_end - ELM_GESTURE_MOMENTUM_DELAY) < st->m_st_tm)
return 0.0; /* we don't start to compute momentum yet */
if (st->dir)