Skip to content

Allow zooming with ctrl+mousewheel combination - #6990

Merged
Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
kisstkondoros:zooming
Jun 26, 2016
Merged

Alexandru Dima (alexdima) merged 1 commit into
microsoft:masterfrom
kisstkondoros:zooming

Conversation

@kisstkondoros

Copy link
Copy Markdown
Contributor

related #6978

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified alexandrudima and Erich Gamma (@egamma) to be potential reviewers

@msftclas

Hi Tamas Kiss (@kisstkondoros), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

@bpasero

Copy link
Copy Markdown
Contributor

I am not sure we want to zoom the entire UI when you use the mousewhell, I would expect only the editor font to increase. Thereby moving to alexandrudima

@kisstkondoros

Copy link
Copy Markdown
Contributor Author

Benjamin Pasero (@bpasero) this change is exactly about that, it changes the font-size and line-height for the editor only (not a UI zoom)

@bpasero

Copy link
Copy Markdown
Contributor

Ah nice, even better 👍

@bpasero Benjamin Pasero (bpasero) removed their assignment May 30, 2016
@asifm

Copy link
Copy Markdown

Currently Ctrl + +/- zooms the entire UI. I hope that behavior will change too? That is, only the code area font size will change?

@kisstkondoros

Copy link
Copy Markdown
Contributor Author

Asif Mehedi (@asifm) I thought about including that as well, but I wanted to leave this simple.
I think it is better to file a separate issue for that, I would be more than happy to implement it once this PR is merged 😃

@asifm

Copy link
Copy Markdown

Tamas Kiss (@kisstkondoros) Looks like there's an open issue #1348 and some differences of opinion. I like what Jesse MacFadyen (@purplecabbage) suggested: "Please map ctrl+- to editor view, or better yet, whichever view has focus."

@alexdima

Copy link
Copy Markdown
Member

👍 Very nice, thank you! I shuffled the code around to bring all the logic in the /editor/ folder (not have editor knowledge in /base/) and to make it that ctrl + scroll is looked for only on editor (not on trees, etc.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants