Skip to content

Conversation

@n2
Copy link
Contributor

@n2 n2 commented Mar 23, 2021

See here. By adding a hidding input elemt, IME can be used on egui_web, both on desktop & mobile browsers. Tested on:

  1. chrome@mac
  2. safari@mac
  3. firefox@mac
  4. chrome@ios
  5. safari@ios
  6. chrome@android

@n2 n2 marked this pull request as ready for review March 24, 2021 00:26
@emilk emilk mentioned this pull request Mar 24, 2021
@emilk
Copy link
Owner

emilk commented Mar 24, 2021

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

@emilk
Copy link
Owner

emilk commented Mar 24, 2021

Again, really amazing work - thanks you so much for this! ❤️

If you would like some help with the last cleanup you can check the Allow edits from maintainers checkbox!

@n2
Copy link
Contributor Author

n2 commented Mar 25, 2021

Ok, changes are all done, and "Allow edits from maintainers" is checked.

Copy link
Owner

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

// ----------------------------------------------------------------------------

pub fn handle_output(output: &egui::Output) {
pub fn handle_output(output: &egui::Output, _canvas_id: &str) {
Copy link
Owner

Choose a reason for hiding this comment

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

remove unused argument

request_animation_frame(runner_ref)
}

fn text_agent_hiddeh() -> bool {
Copy link
Owner

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

@n2
Copy link
Contributor Author

n2 commented Mar 26, 2021

Ture, it is in master branch. I am not familiar with git, next time, all changes will be made in feature branch.

emilk and others added 25 commits March 26, 2021 10:31
They just add unnecessary complexity at this point
* ci: install libspeechd-dev

* Fix new clippy lints for rust 1.51.0
@n2
Copy link
Contributor Author

n2 commented Mar 26, 2021

Oops, sad story, this PR is messed up, illly using of git rebase. Maybe I should close it, and commit a new PR again.

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.

2 participants