# gpui: Keep drag cursor style when dragging \(\#24797\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fd256d159d91299c50a93ec6c1933a6412c83d31

Requested commit: fd256d159d91299c50a93ec6c1933a6412c83d31

Commit: fd256d159d91299c50a93ec6c1933a6412c83d31

Tree: f3730585c29ecda807276b1c4d07b0d1c889402b

Author: Jason Lee

Committer: GitHub

## Message

````
gpui: Keep drag cursor style when dragging (#24797)

Release Notes:

- Improve to keep drag cursor style on dragging resize handles.

---

### Before


https://github.com/user-attachments/assets/d4100d01-ac02-42b8-b923-9f2b4633c458

### After


https://github.com/user-attachments/assets/b5a450cd-c6de-4b39-a79c-2d73fcbad209

With example:

```
cargo run -p gpui --example drag_drop
```


https://github.com/user-attachments/assets/4cba1966-1578-40ce-a435-64ec11bcace5
````

## Parents

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

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