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 74a462a commit 59e4a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/egui/src/widgets/text_edit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ fn events(
true => ime_enabled_filter_events(input_events),
false => input_events,
};
let events = ime_first_events(filter_events);
let events = ime_front_events(filter_events);

for event in &events {
let did_mutate_text = match event {
Expand Down Expand Up @@ -1049,7 +1049,7 @@ fn ime_enabled_filter_events(events: Vec<Event>) -> Vec<Event> {
filter_events
}

fn ime_first_events(events: Vec<Event>) -> Vec<Event> {
fn ime_front_events(events: Vec<Event>) -> Vec<Event> {
let mut ime_first_events: Vec<Event> = Vec::new();
let mut other_events: Vec<Event> = Vec::new();

Expand Down

0 comments on commit 59e4a3e

Please sign in to comment.