mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Log warning instead of error when failing to decode RON in storage (#2961)
* Log warning instead of error when failing to decode RON in storage * New web demo * Clean up some warn/error logging * Avoid deadlock that could happen on crash * Log errors using console.warn, because console.error can cause crashes * Use patched version of wasm-bindgen-cli, allowing >2GB memory * New web demo
This commit is contained in:
@@ -311,7 +311,7 @@ impl Painter {
|
||||
height_in_pixels,
|
||||
);
|
||||
} else {
|
||||
log::error!("Ignoring window resize notification with no surface created via Painter::set_window()");
|
||||
log::warn!("Ignoring window resize notification with no surface created via Painter::set_window()");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user