Track pre-edits separately from focus in text inputs
This commit is contained in:
parent
db990b77e4
commit
d28af5739b
3 changed files with 17 additions and 23 deletions
|
|
@ -205,9 +205,11 @@ where
|
|||
pub fn request_input_method(&mut self, input_method: InputMethod) {
|
||||
match input_method {
|
||||
InputMethod::None => {}
|
||||
InputMethod::Disabled => self.raw.set_ime_allowed(false),
|
||||
InputMethod::Disabled => {
|
||||
self.raw.set_ime_allowed(false);
|
||||
}
|
||||
InputMethod::Allowed | InputMethod::Open { .. } => {
|
||||
self.raw.set_ime_allowed(true)
|
||||
self.raw.set_ime_allowed(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue