Skip to content

Commit

Permalink
Update builder.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored May 19, 2024
1 parent e006260 commit 74a462a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/egui/src/widgets/text_edit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,12 +1037,11 @@ fn ime_enabled_filter_events(events: Vec<Event>) -> Vec<Event> {

for event in events {
match event {
Event::Key {
Event::Key { repeat: true, .. }
| Event::Key {
key: Key::Backspace,
..
} => {}
Event::Key { repeat: true, .. } => {}
Event::Ime(_) => filter_events.push(event),
_ => filter_events.push(event),
}
}
Expand Down

0 comments on commit 74a462a

Please sign in to comment.