diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 14:26:39 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-04 22:24:43 +0200 |
commit | 6b503898dfd52ea342d64a6611878aa05719fa51 (patch) | |
tree | a9176cf3b30356d6df985597ec0e1b1cf499507b /src | |
parent | ab968f72871f8974e895152ab8eb83e71db9214f (diff) |
Touch: Slow drag adjustment
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/touch.c | 4 |
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(); |