bevy/examples/ui
François 3900b48c88 update winit to 0.28 (#7480)
# Objective

- Update winit to 0.28

## Solution

- Small API change 
- A security advisory has been added for a unmaintained crate used by a dependency of winit build script for wayland

I didn't do anything for Android support in this PR though it should be fixable, it should be done in a separate one, maybe https://github.com/bevyengine/bevy/pull/6830 

---

## Changelog

- `window.always_on_top` has been removed, you can now use `window.window_level`

## Migration Guide

before:
```rust
    app.new()
        .add_plugins(DefaultPlugins.set(WindowPlugin {
            primary_window: Some(Window {
                always_on_top: true,
                ..default()
            }),
            ..default()
        }));
```

after:
```rust
    app.new()
        .add_plugins(DefaultPlugins.set(WindowPlugin {
            primary_window: Some(Window {
                window_level: bevy:🪟:WindowLevel::AlwaysOnTop,
                ..default()
            }),
            ..default()
        }));
```
2023-02-03 16:41:39 +00:00
..
button.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00
font_atlas_debug.rs Rename Handle::as_weak() to cast_weak() (#5321) 2022-10-28 22:43:14 +00:00
relative_cursor_position.rs Relative cursor position (#7199) 2023-01-16 17:17:45 +00:00
text.rs Remove VerticalAlign from TextAlignment (#6807) 2023-01-18 02:19:17 +00:00
text_debug.rs Windows as Entities (#5589) 2023-01-19 00:38:28 +00:00
text_layout.rs Add width, height and all constructor functions to Size (#7468) 2023-02-02 14:29:39 +00:00
transparency_ui.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00
ui.rs Fixes scroll example after inverting UI Y axis (#6290) 2022-10-18 13:28:35 +00:00
ui_scaling.rs UI scaling fix (#6479) 2022-11-05 13:51:12 +00:00
window_fallthrough.rs update winit to 0.28 (#7480) 2023-02-03 16:41:39 +00:00
z_index.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00