mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +00:00
04ca832dfe
- attempt to clarify with better docstrings the default behaviour of WindowPlugin and the component type it accepts. # Objective - I'm new to Rust and Bevy, I got a bit confused about how to customise some window parameters (title, height, width etc) and while the docs do show the struct code for that field `Option<Window>` I was a bit of a doofus and skipped that to read the docstring entry for `primary_window` and then the `Window` component directly which aren't linked together. This is a minor improvement which I think will help in-case others, like me, have a doofus moment. --------- Co-authored-by: Sélène Amanita <134181069+Selene-Amanita@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |