bevy/crates/bevy_window/src
Tethys Svensson 11c4514023 Move the configuration of the WindowPlugin to a resource (#5227)
# Objective

It is currently hard to configure the `WindowPlugin`, as it is added as part of the `DefaultPlugins`. Ideally this should not be difficult.

## Solution

Remove the configuration from the plugin itself and put it as a `Resource`, similar to how it is done for almost all other plugins.

## Migration Guide

If you are currently configuring the behavior of the `WindowPlugin`, by constructing it manually, then you will need to instead create add the `WindowSettings` as a resource.
2022-07-08 01:14:23 +00:00
..
cursor.rs Add documentation comments to bevy_window (#4333) 2022-06-16 13:20:37 +00:00
event.rs Update MouseMotion and CursorMoved docs (#5090) 2022-06-26 13:40:43 +00:00
lib.rs Move the configuration of the WindowPlugin to a resource (#5227) 2022-07-08 01:14:23 +00:00
raw_window_handle.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
system.rs Allow closing windows at runtime (#3575) 2022-05-05 13:35:43 +00:00
window.rs Add option to center a window (#4999) 2022-07-04 13:04:14 +00:00
windows.rs Add documentation comments to bevy_window (#4333) 2022-06-16 13:20:37 +00:00