# Fix font sizes not reacting on settings change \(\#26060\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fc01f496a976b2fdb51d8eed3738d4cd0aae92f3

Requested commit: fc01f496a976b2fdb51d8eed3738d4cd0aae92f3

Commit: fc01f496a976b2fdb51d8eed3738d4cd0aae92f3

Tree: c62e91674308541385f8be852a242bcafa03e214

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix font sizes not reacting on settings change (#26060)

Proper version of https://github.com/zed-industries/zed/pull/25425
When https://github.com/zed-industries/zed/pull/24857 returned font
updates on settings changes, settings values, not in-memory ones should
be compared.

This PR returns back the logic finally, and changes it to explicitly
track the settings values, not the in-memory ones.
Also adds the same tracking for UI font changes, which had never been
tracked before.

Release Notes:

- Fixed font sizes not reacting on settings change
```

## Parents

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

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