ZIm/crates/zed
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
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources Remove unnecessary icon field from snapcraft.yaml (#25200) 2025-02-19 15:47:46 -07:00
src Fix theme selector resetting the buffer size (#25425) 2025-02-23 15:24:43 +00:00
build.rs chore: Remove duplicate lines in crates/zed/build.rs (#22500) 2024-12-30 11:52:40 +00:00
Cargo.toml Use the development credentials provider in development by default (#25273) 2025-02-20 19:07:16 +00:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
RELEASE_CHANNEL Restore the default release channel (#23671) 2025-01-26 09:19:24 +00:00