Add web_aspect_ratio example (#2209)

* Add web_aspect_ratio example

* Review feedback
This commit is contained in:
Lucas Kent 2022-09-04 02:26:24 +10:00 committed by GitHub
parent 29419d6c38
commit 97d2aaa953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 107 additions and 3 deletions

View file

@ -142,6 +142,7 @@ version = "0.2.45"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
console_log = "0.2"
web-sys = { version = "0.3.22", features = ['CanvasRenderingContext2d'] }
[workspace]
members = [