# Fix bugs in resizing the docks \+ Add debug styling \(\#3645\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4f196f66fc434f12a5d46888ff58dfed951a53b9

Requested commit: 4f196f66fc434f12a5d46888ff58dfed951a53b9

Commit: 4f196f66fc434f12a5d46888ff58dfed951a53b9

Tree: 9e1fbe7995d14f6c95ca4c4116d04f14654e7184

Author: Mikayla Maki

Committer: GitHub

## Message

```
Fix bugs in resizing the docks + Add debug styling (#3645)

This PR:
- Fixes several bugs with dock resizing
- Adds a new drag move API for resizes 
- Adds special debug styling for elements, including auto-opening Zed at
the element's location in source
- Changes the `cx.paint_quad()` API to take a type and adds several
helpers to create this type.
- Adds `()` as the empty element, and uses it to implement a derive
macro for the `Render` trait.

Release Notes:

- N/A
```

## Parents

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

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

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