# Adds a way to toggle font size without settings adjustments \(\#24857\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3b91de8003917e1160ef3b73f061d6a8273931df

Requested commit: 3b91de8003917e1160ef3b73f061d6a8273931df

Commit: 3b91de8003917e1160ef3b73f061d6a8273931df

Tree: f4fbf70172ffa11b655ec86b35753089642b71a5

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Adds a way to toggle font size without settings adjustments (#24857)

Closes https://github.com/zed-industries/zed/issues/23505

Now `zed::IncreaseBufferFontSize` (and all the same UI- and
Buffer-related settings) action is parameterized with `{ "persist": true
}` (default).
Using `"persist": false` brings back resizing behavior prior to
https://github.com/zed-industries/zed/pull/23265


Release Notes:

- Added a way to toggle font size without settings adjustments
```

## Parents

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

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