refactor: enhance search field focus functionality and input handling

This commit is contained in:
2026-01-28 00:28:08 +03:00
parent 6df826f210
commit 03df631690
4 changed files with 103 additions and 101 deletions
-7
View File
@@ -86,13 +86,6 @@ impl App for SoundpadGui {
}
self.draw(ui).ok();
if let Some(force_focus_id) = self.app_state.force_focus_id {
ui.memory_mut(|reder| {
reder.request_focus(force_focus_id);
});
self.app_state.force_focus_id = None;
}
});
ctx.request_repaint_after_secs(1.0 / 60.0);