mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Fix eframe inspection for glow (#8254)
Removed wrong `cfg` attribute that broke inspection with the glow backend.
This commit is contained in:
@@ -299,7 +299,6 @@ impl<'app> GlowWinitApp<'app> {
|
|||||||
let app_creator = std::mem::take(&mut self.app_creator)
|
let app_creator = std::mem::take(&mut self.app_creator)
|
||||||
.expect("Single-use AppCreator has unexpectedly already been taken");
|
.expect("Single-use AppCreator has unexpectedly already been taken");
|
||||||
|
|
||||||
#[cfg(all(not(feature = "inspection"), not(target_arch = "wasm32")))]
|
|
||||||
crate::maybe_attach_inspection_plugin(&integration.egui_ctx, Some(self.app_name.clone()));
|
crate::maybe_attach_inspection_plugin(&integration.egui_ctx, Some(self.app_name.clone()));
|
||||||
|
|
||||||
let app: Box<dyn 'app + App> = {
|
let app: Box<dyn 'app + App> = {
|
||||||
|
|||||||
Reference in New Issue
Block a user