bevy/crates/bevy_winit
Rob Parrett e874b91dda Fix window centering when scale_factor is not 1.0 (#5582)
# Objective

Fixes #5581

## Solution

`Window::scale_factor` already has logic for selecting the overridden or actual scale factor, so use it.

I tested this with the displays I have access to, but more testing would be nice. This seems like a pretty straightforward bug/fix though.

## Changelog

### Fixed

Fixed window centering on high-dpi displays.
2022-08-30 20:13:38 +00:00
..
src Fix window centering when scale_factor is not 1.0 (#5582) 2022-08-30 20:13:38 +00:00
Cargo.toml Bump Version after Release (#5576) 2022-08-05 02:03:05 +00:00