On Web, fix no-op for Window::set_fullscreen

This commit is contained in:
dAxpeDDa 2023-03-26 17:19:26 +02:00 committed by daxpedda
parent 8092fa2440
commit ba5ad3be13
4 changed files with 38 additions and 4 deletions

View file

@ -156,8 +156,10 @@ features = [
'WheelEvent'
]
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.45"
[target.'cfg(target_family = "wasm")'.dependencies]
js-sys = "0.3"
wasm-bindgen = "0.2.45"
wasm-bindgen-futures = "0.4"
[target.'cfg(target_family = "wasm")'.dev-dependencies]
console_log = "0.2"