Fixed backspace repeat with TextEdit (#2416)
This commit is contained in:
parent
85f615f21c
commit
6cc43dbdd4
1 changed files with 4 additions and 0 deletions
|
@ -919,6 +919,10 @@ fn events(
|
||||||
modifiers,
|
modifiers,
|
||||||
} => on_key_press(&mut cursor_range, text, galley, *key, modifiers),
|
} => on_key_press(&mut cursor_range, text, galley, *key, modifiers),
|
||||||
|
|
||||||
|
Event::KeyRepeat { key, modifiers } => {
|
||||||
|
on_key_press(&mut cursor_range, text, galley, *key, modifiers)
|
||||||
|
}
|
||||||
|
|
||||||
Event::CompositionStart => {
|
Event::CompositionStart => {
|
||||||
state.has_ime = true;
|
state.has_ime = true;
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue