# Fix double-clicking titlebar to zoom \(\#9323\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 51261c553f58562e209a998d8723090b602c8551

Requested commit: 51261c553f58562e209a998d8723090b602c8551

Commit: 51261c553f58562e209a998d8723090b602c8551

Tree: 9d7a18aaa9aee2b464a73d56625cb4bd4e086516

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix double-clicking titlebar to zoom (#9323)

Fixes https://github.com/zed-industries/zed/issues/9300

This was a regression caused by not inserting a hitbox when a div only
had click listeners on it.

Release Notes:

- Fixed a regression that disabled double-clicking on the titlebar to
zoom the window.
([#9300](https://github.com/zed-industries/zed/issues/9300))
(preview-only)
```

## Parents

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

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