1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Don't install console panic hook and tracing wasm subscriber in egui_web (#1230)

Do so in egui_demo_app instead
This commit is contained in:
Yusuf Bera Ertan
2022-02-10 17:44:41 +03:00
committed by GitHub
parent 2f042ababd
commit 1ebb5ccabf
5 changed files with 12 additions and 10 deletions

View File

@@ -30,3 +30,7 @@ eframe = { version = "0.16.0", path = "../eframe" }
egui_demo_lib = { version = "0.16.0", path = "../egui_demo_lib", features = ["extra_debug_asserts"] }
tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
tracing-wasm = "0.2"