# WIP: Resizing splits \(\#2715\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b7ed467690211398e3a90ddfe5c1f2ac438d490c

Requested commit: b7ed467690211398e3a90ddfe5c1f2ac438d490c

Commit: b7ed467690211398e3a90ddfe5c1f2ac438d490c

Tree: f76ddec87bda7a4832ba9cbaf404c7feff76670e

Author: Mikayla Maki

Committer: GitHub

## Message

```
WIP: Resizing splits (#2715)

We're finally doing the thing. 


TODO:
- [x] Choose an approach 
- Decided to add a new element just for the pane axis, containing a
slimmed down copy of the flex code.
- [x] Wire through callbacks and pointers so that data goes where it
needs to
- [x] Do the flex juggling math on resize
- [x] Update the flexes when updating the split tree
- [x] Restore the active_pane_magnification setting
- [x] Serialize an axis' flexes

Release Notes:
- Made the center pane group splits resizable. Note that resizing is
disabled if the `active_pane_magnification` setting is changed from
default.
```

## Parents

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

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

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