# editor: Fix diff hunk controls not shown until buffer interaction \(\#32692\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2aa79a022e34c4ef940c312556aa8d2451376d5d

Requested commit: 2aa79a022e34c4ef940c312556aa8d2451376d5d

Commit: 2aa79a022e34c4ef940c312556aa8d2451376d5d

Tree: 5c21814e2fac15a5b62ab54d8088c2de788323b9

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix diff hunk controls not shown until buffer interaction (#32692)

Similar to https://github.com/zed-industries/zed/pull/32683, checking
mouse hovered in `mouse_move` instead of `prepaint` for diff hunk
controls.

Release Notes:

- Fixed issue where diff hunk controls were not visible on mouse hover
when `cursor_blink` is `false`.
```

## Parents

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

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