# ui: Fix \`end_slot_on_hover\` API \(\#59805\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d655580d9b9beb34949e1902c1d6ebeba740e972

Requested commit: d655580d9b9beb34949e1902c1d6ebeba740e972

Commit: d655580d9b9beb34949e1902c1d6ebeba740e972

Tree: ed9592db2f5118d2e766236b5ec3eae487bd47be

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Fix `end_slot_on_hover` API (#59805)

The issue here was that `end_slot_on_hover` would currently only work if
`end_slot` was also set. With this, it will now work even if there is no
`end_slot`.

Release Notes:

- N/A
```

## Parents

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

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