mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Fixed backspace repeat with TextEdit (#2416)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user