Skip to content

Commit

Permalink
Fixed backspace repeat with TextEdit (#2416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsEthra authored Dec 9, 2022
1 parent 85f615f commit 6cc43db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/egui/src/widgets/text_edit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6cc43db

Please sign in to comment.