Skip to content

Restrict mouse wheel zoom for certain editors#53598

Merged
SomeoneToIgnore merged 4 commits into
mainfrom
kb/restrict-zoom
Apr 10, 2026
Merged

Restrict mouse wheel zoom for certain editors#53598
SomeoneToIgnore merged 4 commits into
mainfrom
kb/restrict-zoom

Conversation

@SomeoneToIgnore

Copy link
Copy Markdown
Contributor

Follow-up of #53452

  • disables mouse wheel zooming in agent, debugger, keymap editor, dev inspector and repl-related editors
  • adjusts the code to call for theme changes directly instead of sending the events, so that agent following does not capture the events and changes its font size

Release Notes:

  • N/A

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 10, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Apr 10, 2026
@SomeoneToIgnore SomeoneToIgnore changed the title Kb/restrict zoom Restrict mouse wheel zoom for certain editors Apr 10, 2026
Comment thread crates/editor/src/editor.rs Outdated
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) April 10, 2026 09:14
@SomeoneToIgnore SomeoneToIgnore merged commit 2635ef5 into main Apr 10, 2026
31 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the kb/restrict-zoom branch April 10, 2026 09:20
piper-of-dawn pushed a commit to piper-of-dawn/zed that referenced this pull request Apr 25, 2026
Follow-up of zed-industries#53452

* disables mouse wheel zooming in agent, debugger, keymap editor, dev
inspector and repl-related editors
* adjusts the code to call for theme changes directly instead of sending
the events, so that agent following does not capture the events and
changes its font size

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants