1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00

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

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