# Remove newest selection when adding a selection with a click count \> 1 · gitcafe/zed

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

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

Visibility: public

Requested revision: bfecdb7bc0e51ed1e37c8d0f61ceb27c5c6b5de9

Requested commit: bfecdb7bc0e51ed1e37c8d0f61ceb27c5c6b5de9

Commit: bfecdb7bc0e51ed1e37c8d0f61ceb27c5c6b5de9

Tree: bf6b5c850aba2d80bad528179f7e5997daa0c23c

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Remove newest selection when adding a selection with a click count > 1

This prevents selections added in earlier clicks from being rendered under the pending selection.

```

## Parents

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

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