mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
8cf5fbbf94
Follow up to #11057
Implemented suggestions from reviewers from: a simpler
fit_canvas_to_parent leads to an explicit CSS setting to the canvas.
From my understanding, it has do be set after wgpu creation due to wgpu
overriding the canvas width/height:
|
||
---|---|---|
.. | ||
build-templated-pages | ||
build-wasm-example | ||
ci | ||
example-showcase | ||
publish.sh |