![]() # 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. |
||
---|---|---|
.. | ||
converters.rs | ||
lib.rs | ||
web_resize.rs | ||
winit_config.rs | ||
winit_windows.rs |