Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands for adjusting font size are changing my font size settings #24248

Closed
injust opened this issue Feb 5, 2025 · 1 comment
Closed

Commands for adjusting font size are changing my font size settings #24248

injust opened this issue Feb 5, 2025 · 1 comment

Comments

@injust
Copy link
Contributor

injust commented Feb 5, 2025

Summary

Steps to trigger the problem:

  1. Configure the buffer_font_size setting
  2. Use the zed::IncreaseBufferFontSize/DecreaseBufferFontSize/ResetBufferFontSize commands

Actual Behavior:

  • cmd-plus/minus (zed::IncreaseBufferFontSize/DecreaseBufferFontSize) changes the buffer_font_size setting
  • cmd-0 (zed::ResetBufferFontSize) sets "buffer_font_size": null, which uses the value of 15 from the default settings

Expected Behavior:

  1. Set a font size in settings.json, which is the "default" font size
  2. cmd-plus/minus (zed::IncreaseBufferFontSize/DecreaseBufferFontSize) to temporarily adjust the font size, without changing the buffer_font_size setting
  3. cmd-0 (zed::ResetBufferFontSize) to reset to my configured default font size

Zed Version and System Specs

Zed: v0.171.6 (Zed)
OS: macOS 15.3.0
Memory: 16 GiB
Architecture: x86_64

@SomeoneToIgnore
Copy link
Contributor

#23505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants