Bump winit to 0.25 (#2186)

winit v0.25 includes support for propagating mouse motion events in the HTML canvas to the winit window.
This commit is contained in:
Gregory Oakes 2021-05-18 18:36:36 +00:00
parent d4ffa3f490
commit 2fcac67712

View file

@ -27,10 +27,10 @@ bevy_window = { path = "../bevy_window", version = "0.5.0" }
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
# other
winit = { version = "0.24.0", default-features = false }
winit = { version = "0.25.0", default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
winit = { version = "0.24.0", features = ["web-sys"], default-features = false }
winit = { version = "0.25.0", features = ["web-sys"], default-features = false }
wasm-bindgen = { version = "0.2" }
web-sys = "0.3"