# Only clear selections when right click was performed outside of selection \(\#13701\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ed50dea042523d869e645681825ed3ecafbc67a3

Requested commit: ed50dea042523d869e645681825ed3ecafbc67a3

Commit: ed50dea042523d869e645681825ed3ecafbc67a3

Tree: 20bfd310938d88b51bf5d7fcaf9773253bfc5688

Author: Stanislav Alekseev

Committer: GitHub

## Message

```
Only clear selections when right click was performed outside of selection (#13701)

Release Notes:

- Fixed selections being cleared when right-click was performed outside
of a selection
([#4267](https://github.com/zed-industries/zed/pull/13701)).

<img width="1136" alt="Screenshot 2024-07-01 at 16 53 58"
src="https://github.com/zed-industries/zed/assets/43210583/082bfb0a-c679-4e87-a4e8-7dd751d8f4a2">
```

## Parents

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

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