# editor: Fix select when click on existing selection \(\#32365\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c57a6263aa385476adec6ae72f42ccdbd84ac535

Requested commit: c57a6263aa385476adec6ae72f42ccdbd84ac535

Commit: c57a6263aa385476adec6ae72f42ccdbd84ac535

Tree: 474f066b2279bb8fd8cddedb9b32423e985da91e

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix select when click on existing selection (#32365)

Follow-up for https://github.com/zed-industries/zed/pull/30671

Now, when clicking on an existing selection, the cursor will change on
`mouse_up` when `drag_and_drop_selection` is `true`. When
`drag_and_drop_selection` is `false`, it will change on `mouse_down`
(previous default).

Release Notes:

- N/A
```

## Parents

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

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