# Avoid excessive blocking of main thread when rendering in direct mode \(\#7253\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 020c38a8916c063cba36c2c88a69b5e287269d5a

Requested commit: 020c38a8916c063cba36c2c88a69b5e287269d5a

Commit: 020c38a8916c063cba36c2c88a69b5e287269d5a

Tree: 113f59deaf89d44ad48addb16ed9488b0ab36a61

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Avoid excessive blocking of main thread when rendering in direct mode (#7253)

Release Notes:

- Fixed a bug that caused inconsistent frame rate when scrolling on
certain hardware.

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
```

## Parents

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

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