bevy/crates/bevy_winit/src
Daniel Liu 3203a8585c Change window position types from tuple to vec (#5276)
Resolves #5004. As suggested in the original issue, change tuple types to their corresponding vector type.

## migration guide

Changed the following fields
- `WindowCommand::SetWindowMode.resolution` from `(u32, u32)` to `UVec2`
- `WindowCommand::SetResolution.logical_resolution` from `(f32, f32)` to `Vec2`

Co-authored-by: Daniel Liu <mr.picklepinosaur@gmail.com>
2022-07-11 14:36:23 +00:00
..
converters.rs Rename ElementState to ButtonState (#4314) 2022-04-24 22:57:02 +00:00
lib.rs Change window position types from tuple to vec (#5276) 2022-07-11 14:36:23 +00:00
web_resize.rs Optionally resize Window canvas element to fit parent element (#4726) 2022-05-20 23:13:48 +00:00
winit_config.rs Fix crash when using Duration::MAX (#4900) 2022-06-02 19:42:20 +00:00
winit_windows.rs Add option to center a window (#4999) 2022-07-04 13:04:14 +00:00