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 0789125 + fb75f41 commit 94ff79bCopy full SHA for 94ff79b
src/main.rs
@@ -56,6 +56,9 @@ fn main() {
56
DefaultPlugins.set(WindowPlugin {
57
primary_window: Some(Window {
58
title: "tempo-trainer".to_string(),
59
+ // Workaround for hi-dpi phones
60
+ #[cfg(target_arch = "wasm32")]
61
+ resolution: bevy::window::WindowResolution::new(800.0, 600.0),
62
fit_canvas_to_parent: true,
63
..Default::default()
64
}),
0 commit comments