# gpui: Prevent touch mispredict jitter \(\#63638\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a85cf449ec6e72274ee6f9e8462f702299b04cce)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a85cf449ec6e72274ee6f9e8462f702299b04cce

Requested commit: a85cf449ec6e72274ee6f9e8462f702299b04cce

Commit: a85cf449ec6e72274ee6f9e8462f702299b04cce

Tree: ad5366fe9367d5cf4310f6430385d2aa457ffdfb

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
gpui: Prevent touch mispredict jitter (#63638)

When scrolling, mispredicted touch events could cause scroll jitter. We
now ignore predictions that are "travelling the wrong direction".

---

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

- [60bf47b9f2ffb425905c4a3feaca89be67f1d90e](https://git.cafe/gitcafe/zed/commit/60bf47b9f2ffb425905c4a3feaca89be67f1d90e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a85cf449ec6e72274ee6f9e8462f702299b04cce?format=markdown)
