# Fixed more bugs around moving pinned tabs \(\#32228\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 53abad5979cc8a7ec7483290bd62183722002904

Requested commit: 53abad5979cc8a7ec7483290bd62183722002904

Commit: 53abad5979cc8a7ec7483290bd62183722002904

Tree: 3a148d8b494ad449d04845e1068a5551fe0fcee2

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Fixed more bugs around moving pinned tabs (#32228)

Closes https://github.com/zed-industries/zed/issues/32199
https://github.com/zed-industries/zed/issues/32229
https://github.com/zed-industries/zed/issues/32230
https://github.com/zed-industries/zed/issues/32232

Release Notes:

- Fixed a bug where if the last tab was a pinned tab and it was dragged
to the right, resulting in a no-op, it would become unpinned
- Fixed a bug where a pinned tab dragged just to the right of the end of
the pinned tab region would become unpinned
- Fixed a bug where dragging a pinned tab from one pane to another
pane's pinned region could result in an existing pinned tab becoming
unpinned when `max_tabs` was reached
- Fixed a bug where moving an unpinned tab to the left, just to the end
of the pinned region, would cause the pinned tabs to become unpinned.
```

## Parents

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

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