Merge pull request #2918 from dcz-self/master
Report cursor size to input method
This commit is contained in:
commit
b89c412496
5 changed files with 36 additions and 25 deletions
|
|
@ -785,10 +785,10 @@ where
|
|||
);
|
||||
|
||||
if !had_input_method
|
||||
&& let InputMethod::Enabled { position, .. } =
|
||||
&& let InputMethod::Enabled { cursor, .. } =
|
||||
shell.input_method_mut()
|
||||
{
|
||||
*position = *position - translation;
|
||||
*cursor = *cursor - translation;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue