mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
[egui_web] Call prevent_default for arrow keys when entering text
Closes https://github.com/emilk/egui/issues/58
This commit is contained in:
@@ -154,6 +154,10 @@ impl AppRunner {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn egui_ctx(&self) -> &egui::CtxRef {
|
||||
&self.web_backend.ctx
|
||||
}
|
||||
|
||||
pub fn auto_save(&mut self) {
|
||||
let now = now_sec();
|
||||
let time_since_last_save = now - self.last_save_time;
|
||||
|
||||
Reference in New Issue
Block a user