# workspace: Fix missing icons on non-terminal tabs during drag \(\#53637\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 811fe501a77ffb82c1c1b3d9934ec4e416f853e0

Requested commit: 811fe501a77ffb82c1c1b3d9934ec4e416f853e0

Commit: 811fe501a77ffb82c1c1b3d9934ec4e416f853e0

Tree: c1c55e7cc76f65131d46bafdcaa0e5dcddfde70e

Author: Shreyash Saitwal

Committer: GitHub

## Message

```
workspace: Fix missing icons on non-terminal tabs during drag (#53637)

Previously, only terminal tabs displayed their icon while being dragged,
all other tab types showed just the label, making the drag preview
inconsistent with the actual tab appearance.


https://github.com/user-attachments/assets/7c055945-79d6-4f6e-8969-279a4fb1ff58

This PR fixes that by rendering each tab's icon alongside its label, so
the dragged preview now accurately reflects the tab regardless of type.


https://github.com/user-attachments/assets/3ad5a99b-5ba7-41d2-a6b3-51101b1f9650

Release Notes:

- Fixed missing icons on non-terminal tabs when dragging

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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