-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
IME enabled on web #247
IME enabled on web #247
Conversation
This reverts commit e8d9273.
This is awesome work, but there are a few kinks to iron out! Most noticeably: when I click anywhere on the web page, the egui interface slides down to the lower half of the screen. This happens both on firefox on my macbook and on safari on my iphone. EDIT here is a fix: 41a3bb6 |
Again, really amazing work - thanks you so much for this! ❤️ If you would like some help with the last cleanup you can check the |
Ok, changes are all done, and "Allow edits from maintainers" is checked. |
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 can't figure out to push my changes (maybe because you are attempting to merge from your master
and not from a feature branch?).
Only two small things left, and then you need to rebase on or merge master to fix the CI issues.
egui_web/src/lib.rs
Outdated
@@ -228,7 +234,7 @@ impl epi::Storage for LocalStorage { | |||
|
|||
// ---------------------------------------------------------------------------- | |||
|
|||
pub fn handle_output(output: &egui::Output) { | |||
pub fn handle_output(output: &egui::Output, _canvas_id: &str) { |
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.
remove unused argument
egui_web/src/lib.rs
Outdated
@@ -458,6 +464,19 @@ fn paint_and_schedule(runner_ref: AppRunnerRef) -> Result<(), JsValue> { | |||
request_animation_frame(runner_ref) | |||
} | |||
|
|||
fn text_agent_hiddeh() -> bool { |
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.
nit typo: text_agent_hidden
Ture, it is in master branch. I am not familiar with git, next time, all changes will be made in feature branch. |
They just add unnecessary complexity at this point
This reverts commit e8d9273.
* ci: install libspeechd-dev * Fix new clippy lints for rust 1.51.0
Oops, sad story, this PR is messed up, illly using of git rebase. Maybe I should close it, and commit a new PR again. |
See here. By adding a hidding input elemt, IME can be used on egui_web, both on desktop & mobile browsers. Tested on: