mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-25 08:30:24 +00:00
Fix wasm build
This commit is contained in:
@@ -157,6 +157,11 @@ pub fn start_viewer(
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
// Only for registering components for undo
|
||||
use space_editor::prelude::space_undo::AppAutoUndo;
|
||||
app.auto_reflected_undo::<Transform>();
|
||||
|
||||
#[cfg(feature = "wasm")]
|
||||
wasm::initialize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user