How to turn off cmd+mouse wheel zoom in live editor Matlab
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Pontus Vikstål
le 10 Sep 2019
Réponse apportée : Becky Galasso
le 27 Jan 2022
As the title says; How can I turn off the feature that zooms in on the live editor when holding down the cmd button and using the mouse wheel on Mac. It is super annyoing and it happens multiple times that I by accident use the zoom function on my note book when working.
0 commentaires
Réponse acceptée
Becky Galasso
le 27 Jan 2022
Hi Pontus,
Starting in R2021b, it is now possible to disable zooming with the mouse wheel in the MATLAB Editor and Live Editor.
On the Home tab, in the Environment section, click Preferences. Select Editor/Debugger > Display, uncheck the “Enable zooming with Cmd+Scroll” option, and click Apply or OK. Holding the Command key while moving the mouse wheel should no longer zoom the MATLAB Editor or Live Editor.
You can also zoom in, zoom out, and return to the default zoom scale of the Editor in the Zoom section of the View tab. Please see the R2021b MATLAB Environment Release Notes for more information about zooming the Editor.
0 commentaires
Plus de réponses (2)
Ian
le 28 Oct 2019
Modifié(e) : Ian
le 28 Oct 2019
There is also a bug on the Mac OS version (2019b) where the scroll momentum left over after scrolling will cause the live script document to zoom if cmd is pressed before the momentum has dissipated. To reproduce this issue:
- Scroll the document. Release your fingers from the trackpad.
- Before the scroll momentum has dissipated, depress and hold Command.
- The document zooms (expected behaviour: the document does not zoom).
Turning off cmd+mouse wheel scrolling in live scripts would be suitable workaround to this bug, at least for me, because I find the mouse zoom shortcut minimally useful.
7 commentaires
Payas Bahade
le 19 Sep 2019
Hi Pontus,
Currently, it is not possible to disable the zoom shortcuts in MATLAB Live Editor. I have informed the concerned teams and the necessary actions will ensue.
5 commentaires
Yuval Zukerman
le 10 Août 2020
I would say a workaround is available:
CMD+'+' and CMD+'-' will modify the zoom level and allow you to restore the live editor to the appropriate (default) text size.
Brent F
le 19 Juin 2021
It's a stretch calling that a "workaround", in that it requires multiple Cmd-+ keypresses every hour or so when Matlab goes haywire while using the Apple Magic mouse.
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!