summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-04 14:26:39 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-04 22:24:43 +0200
commit6b503898dfd52ea342d64a6611878aa05719fa51 (patch)
treea9176cf3b30356d6df985597ec0e1b1cf499507b /src/ui
parentab968f72871f8974e895152ab8eb83e71db9214f (diff)
Touch: Slow drag adjustment
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c
index 83641ad4..c2a01be2 100644
--- a/src/ui/touch.c
+++ b/src/ui/touch.c
@@ -327,8 +327,8 @@ iBool processEvent_Touch(const SDL_Event *ev) {
327 /* The first FINGERMOTION seems to be larger than the subsequence ones. 327 /* The first FINGERMOTION seems to be larger than the subsequence ones.
328 Maybe SDL does its own stationary threshold? We'll counter by reducing 328 Maybe SDL does its own stationary threshold? We'll counter by reducing
329 the first one. */ 329 the first one. */
330 divvf_F3(&touch->accum, 3); 330 divvf_F3(&touch->accum, 6);
331 divfv_I2(&pixels, 3); 331 divfv_I2(&pixels, 6);
332 } 332 }
333 else { 333 else {
334 touch->accum = zero_F3(); 334 touch->accum = zero_F3();