Skip to content

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

Merged
emilk merged 1 commit intomasterfrom
emilk/cmd-o-s-on-web
Jan 30, 2025
Merged

eframe web: forward cmd-S/O to egui app (stop default browser action)#5655
emilk merged 1 commit intomasterfrom
emilk/cmd-o-s-on-web

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
@github-actions
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