1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Rename "kb_focus" to just "focus" everywhere

This commit is contained in:
Emil Ernerfeldt
2021-03-09 20:55:24 +01:00
parent 3fbc07659c
commit 017d602fe5
14 changed files with 75 additions and 69 deletions

View File

@@ -125,7 +125,7 @@ impl Widgets {
ui.horizontal(|ui| {
ui.label("Single line text input:");
let response = ui.text_edit_singleline(&mut self.single_line_text_input);
if response.lost_kb_focus() {
if response.lost_focus() {
// The user pressed enter.
}
});