Fulfill InputMethod requests only during RedrawRequested
This commit is contained in:
parent
c9abe25d31
commit
ba755c69d6
2 changed files with 7 additions and 4 deletions
|
|
@ -78,6 +78,9 @@ impl<'a, Message> Shell<'a, Message> {
|
|||
}
|
||||
|
||||
/// Requests the current [`InputMethod`] strategy.
|
||||
///
|
||||
/// __Important__: This request will only be honored by the
|
||||
/// [`Shell`] only during a [`window::Event::RedrawRequested`].
|
||||
pub fn request_input_method<T: AsRef<str>>(
|
||||
&mut self,
|
||||
ime: &InputMethod<T>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue