ZIm/crates/zed/src
Kirill Bulatov 147f407b7a
Fix theme selector resetting the buffer size (#25425)
Closes https://github.com/zed-industries/zed/issues/25413

As the issue points out well, themes do not need to alter any in-memory
state on load: that is done via settings file load.
Originally, it was introduced in
https://github.com/zed-industries/zed/pull/4064 and
https://github.com/zed-industries/zed/pull/24857 had restored that
behavior, which seems wrong to do.

Apart from removing that part, removes unnecessary methods and
emphasizes that in-memory state is the Buffer/UI size — no need to add
`Adjusted` there as the settings file presence is already enough.

Release Notes:

- Fixed theme selector resetting the buffer size
2025-02-23 15:24:43 +00:00
..
zed Fix UI font size changes not applying (#25307) 2025-02-21 06:24:02 -03:00
main.rs Only authenticate if the credentials provider has credentials when running in development (#25403) 2025-02-22 18:29:27 +00:00
reliability.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
zed.rs Fix theme selector resetting the buffer size (#25425) 2025-02-23 15:24:43 +00:00