Skip to content
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

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

barmac
Copy link
Collaborator

@barmac barmac commented Jan 18, 2021

Closes #2050

Definition of Done

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Jan 18, 2021

const fullScreenEntry = submenuTemplate.find(({ label }) => label === 'Fullscreen');

fullScreenEntry.accelerator = 'Ctrl+Cmd+F';
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Copy link
Contributor

@pinussilvestrus pinussilvestrus Jan 18, 2021

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:

label: 'Fullscreen',

Sorry!

Copy link
Contributor

@pinussilvestrus pinussilvestrus left a comment

Choose a reason for hiding this comment

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

Works for me!

@pinussilvestrus
Copy link
Contributor

pinussilvestrus commented Jan 18, 2021

Command I used:

npx @bpmn-io/sr camunda/camunda-modeler#2050-full-screen-shortcut-macos --verbose

Copy link

@andreasgeier andreasgeier left a 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.

@merge-me merge-me bot merged commit 2a144d5 into develop Jan 18, 2021
@merge-me merge-me bot deleted the 2050-full-screen-shortcut-macos branch January 18, 2021 10:30
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jan 18, 2021
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.

Use Ctrl+Cmd+F as full screen shortcut on MacOS
3 participants