# Allow outline modal toggling \(\#37575\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1751bf4cdbe8b6a55546d290c7f2a0f47721b041

Requested commit: 1751bf4cdbe8b6a55546d290c7f2a0f47721b041

Commit: 1751bf4cdbe8b6a55546d290c7f2a0f47721b041

Tree: 488b827d716250a107549c82a66c822af055a8ef

Author: Mitch \(a.k.a Voz\)

Committer: GitHub

## Message

```
Allow outline modal toggling (#37575)

Closes #37511 

The outline modal seems to have a bug where if it's open and the
`outline::Toggle` is triggered, it would not close if there was another
command with the same keybind. So instead, if the outline modal is open
and an `outline::Toggle` is triggered, we dismiss the modal.

Release Notes:

- Fixed a bug where `outline::Toggle` would sometimes not close outline
modal
```

## Parents

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

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