# Make overlay positioning more robust · gitcafe/zed

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

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

Visibility: public

Requested revision: a055a4c163106782c8e4efc9bc22cf29b41e9278

Requested commit: a055a4c163106782c8e4efc9bc22cf29b41e9278

Commit: a055a4c163106782c8e4efc9bc22cf29b41e9278

Tree: fa1af045fe49a71c4f9f8e2b28e4be9f9aafaa64

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Make overlay positioning more robust

Previously we would either switch anchor or snap, now we first try switching
anchor (if desired) and then snap to window regardless.

```

## Parents

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

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