Skip to content

feat: ctrl+scroll to change editor font size#28

Merged
cdmtn-dev merged 1 commit into
cdmtn:mainfrom
NotKiwy:feature/ctrl-scroll-zoom
Jul 8, 2026
Merged

feat: ctrl+scroll to change editor font size#28
cdmtn-dev merged 1 commit into
cdmtn:mainfrom
NotKiwy:feature/ctrl-scroll-zoom

Conversation

@NotKiwy

@NotKiwy NotKiwy commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Added wheel event listener with capture: true on the editor container. Intercepts Ctrl/Cmd + scroll before the smooth scroller and adjusts font size by ±5% via the existing Setting.editorTextSize.

@cdmtn-dev
cdmtn-dev merged commit eefd7a9 into cdmtn:main Jul 8, 2026
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

Successfully merging this pull request may close these issues.

2 participants