Request redraws on InputMethod events
This commit is contained in:
parent
76c25d2fb2
commit
e8c680ce66
2 changed files with 9 additions and 1 deletions
|
|
@ -754,6 +754,8 @@ where
|
|||
Ime::Toggle(is_open) => {
|
||||
state.preedit =
|
||||
is_open.then(input_method::Preedit::new);
|
||||
|
||||
shell.request_redraw();
|
||||
}
|
||||
Ime::Preedit { content, selection } => {
|
||||
if state.focus.is_some() {
|
||||
|
|
@ -761,6 +763,8 @@ where
|
|||
content,
|
||||
selection,
|
||||
});
|
||||
|
||||
shell.request_redraw();
|
||||
}
|
||||
}
|
||||
Ime::Commit(text) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue