Skip to content

Commit

Permalink
fix rebase builder text_edit
Browse files Browse the repository at this point in the history
  • Loading branch information
micmonay committed Aug 26, 2024
1 parent 5543ef3 commit 502801c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/text_edit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ impl<'t> TextEdit<'t> {
is_being_dragged,
);

if did_interact || response.clicked {
if did_interact || response.clicked() {
ui.memory_mut(|mem| mem.request_focus(response.id));
}
}
Expand Down

0 comments on commit 502801c

Please sign in to comment.