-
Notifications
You must be signed in to change notification settings - Fork 481
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
feat(menu): open fullscreen with Ctrl+Cmd+F on Mac #2069
Conversation
|
||
const fullScreenEntry = submenuTemplate.find(({ label }) => label === 'Fullscreen'); | ||
|
||
fullScreenEntry.accelerator = 'Ctrl+Cmd+F'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a macOS-only shortcut?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. And it's common among MacOS apps: VS Code, Chrome, Firefox, Finder, Preview etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add it for other platforms, like F11
for Windows? Or do we already have it?
Got it:
camunda-modeler/app/lib/menu/menu-builder.js
Line 425 in a587434
label: 'Fullscreen', |
Sorry!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me!
Command I used:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not check the implementation but the feature makes sense.
Closes #2050
Definition of Done