fix(web): warn before losing unsaved changes

Closes #556
This commit is contained in:
Hakan Seven committed 2026-07-29 22:42:04 +03:00
1 parent 7b708372a8
commit 5f0e1732c1
4 files changed
+46

No files matched your search

+1
View File
@@ -163,6 +163,7 @@ web-sys = { version = "0.3", features = [
"KeyboardEventInit",
"EventInit",
"EventTarget",
"BeforeUnloadEvent",
# Error banner (web_diag): forward wgpu/naga errors to the browser console
# and inject a copyable DOM overlay (document.body → append_child).
"console",