mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
fix input freezing
This commit is contained in:
+5
-2
@@ -147,8 +147,11 @@ pub fn start(init: InitParams, mode: StudioMode, window_config: Option<Window>)
|
||||
|
||||
let mut app = App::new();
|
||||
|
||||
app.insert_resource(mode);
|
||||
app.insert_resource(bevy::winit::WinitSettings::game());
|
||||
app.insert_resource(mode);
|
||||
app.insert_resource(bevy::winit::WinitSettings {
|
||||
focused_mode: bevy::winit::UpdateMode::Continuous,
|
||||
unfocused_mode: bevy::winit::UpdateMode::Continuous,
|
||||
});
|
||||
|
||||
app.add_plugins((
|
||||
#[cfg(feature = "wasm")]
|
||||
|
||||
Reference in New Issue
Block a user