Fixed backspace repeat with TextEdit (#2416)

This commit is contained in:
ItsEthra 2022-12-09 11:54:00 +03:00 committed by GitHub
parent 85f615f21c
commit 6cc43dbdd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -919,6 +919,10 @@ fn events(
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 => {
state.has_ime = true;
None