mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
eframe web fix: save() on "blur" event
This commit is contained in:
@@ -191,7 +191,7 @@ impl AppRunner {
|
||||
pub fn update_focus(&mut self) {
|
||||
let has_focus = self.has_focus();
|
||||
if self.input.raw.focused != has_focus {
|
||||
// log::debug!("{} Focus changed to {has_focus}", self.canvas().id());
|
||||
log::trace!("{} Focus changed to {has_focus}", self.canvas().id());
|
||||
self.input.set_focus(has_focus);
|
||||
|
||||
if !has_focus {
|
||||
|
||||
Reference in New Issue
Block a user