We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ac206b + cbe0daf commit c4fe0ceCopy full SHA for c4fe0ce
mobile/src/lib.rs
@@ -1,12 +1,15 @@
1
use bevy::prelude::*;
2
use bevy::window::{PresentMode, WindowMode};
3
-use bevy::winit::WinitSettings;
+use bevy::winit::{UpdateMode, WinitSettings};
4
use tempo_trainer::GamePlugin;
5
6
#[bevy_main]
7
fn main() {
8
App::new()
9
- .insert_resource(WinitSettings::mobile())
+ .insert_resource(WinitSettings {
10
+ focused_mode: UpdateMode::Continuous,
11
+ ..WinitSettings::mobile()
12
+ })
13
.add_plugins((
14
DefaultPlugins.set(WindowPlugin {
15
primary_window: Some(Window {
0 commit comments