diff options
Diffstat (limited to 'src/ui/touch.c')
-rw-r--r-- | src/ui/touch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c index bf217301..87bb7478 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c | |||
@@ -234,6 +234,7 @@ static void update_TouchState_(void *ptr) { | |||
234 | const int elapsed = nowTime - touch->startTime; | 234 | const int elapsed = nowTime - touch->startTime; |
235 | if (elapsed > 25) { | 235 | if (elapsed > 25) { |
236 | clearWidgetMomentum_TouchState_(d, touch->affinity); | 236 | clearWidgetMomentum_TouchState_(d, touch->affinity); |
237 | clear_Array(d->moms); /* stop all ongoing momentum */ | ||
237 | } | 238 | } |
238 | if (elapsed > 50 && !touch->isTapBegun) { | 239 | if (elapsed > 50 && !touch->isTapBegun) { |
239 | /* Looks like a possible tap. */ | 240 | /* Looks like a possible tap. */ |