Sync Bevy canvas size with browser viewport size

This commit is contained in:
Danny McGee
2023-09-29 22:15:18 -04:00
parent c1f92cc2d6
commit 2e3979b336
7 changed files with 120 additions and 20 deletions
+1
View File
@@ -15,6 +15,7 @@ path = "src/main.rs"
[dependencies]
wasm-bindgen = { version = "0.2.84" }
console_error_panic_hook = { version = "0.1.7", optional = true }
parking_lot = "0.12.1"
[features]
wasm = ["dep:console_error_panic_hook"]