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

eframe web: forward cmd-S/O to egui app (stop default browser action) #5655

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 30, 2025

This allow eframe apps to capture cmd-S and cmd-O to trigger their own save and open actions, instead of having the browser do something annoying.

This allow eframe apps to capture cmd-S and cmd-O to trigger their
own save and open actions, instead of having the browser do something
annoying.
@emilk emilk added web Related to running Egui on the web eframe Relates to epi and eframe labels Jan 30, 2025
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5655-emilkcmd-o-s-on-web
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit ee5f0d6 into master Jan 30, 2025
46 of 48 checks passed
@emilk emilk deleted the emilk/cmd-o-s-on-web branch January 30, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eframe Relates to epi and eframe web Related to running Egui on the web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant