Skip to content

Fix: Zoom-in shortcut (Ctrl +) not working, updated accelerator #3000

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schourasia750
Copy link

fix: #2999
-->

Summary

Fixes the issue with the zoom-in shortcut (Ctrl +) not working on the Electron desktop app.

Changes:

  • Updated the accelerator for the zoom-in menu item to 'CommandOrControl+='.

Context:

This change ensures that the Ctrl + shortcut works as expected, aligning with the behavior of the zoom-out shortcut and the view toolbar.

Testing:

Verified that the zoom-in shortcut now functions correctly on Windows and macOS.

@Rival-05
Copy link

@schourasia750 Did you solve the issue, why didn't it get merged till now? Like I am actually new to open source and also in college so how do I even solve the issues, will you please contact me. [https://x.com/Rival_o5]

@@ -373,7 +373,7 @@ const createViewMenu = createSelector(
{
id: 'zoomIn',
label: t('menus.zoomIn'),
accelerator: 'CommandOrControl+Plus',
accelerator: 'CommandOrControl+=',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It means it should use = instead of +?

@schourasia750
Copy link
Author

@Sing-Li could you please review this PR

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.

Bug: app is not zooming in using ctrl ++
3 participants