bevy/crates/bevy_ui/src
ira f69f1329e0 Fix Window feedback loop between the OS and Bevy (#7517)
# Objective

Fix #7377
Fix #7513

## Solution

Record the changes made to the Bevy `Window` from `winit` as 'canon' to avoid Bevy sending those changes back to `winit` again, causing a feedback loop.

## Changelog

* Removed `ModifiesWindows` system label.
  Neither `despawn_window` nor `changed_window` actually modify the `Window` component so all the `.after(ModifiesWindows)` shouldn't be necessary.
* Moved `changed_window` and `despawn_window` systems to `CoreStage::Last` to avoid systems making changes to the `Window` between `changed_window` and the end of the frame as they would be ignored.

## Migration Guide
The `ModifiesWindows` system label was removed.


Co-authored-by: devil-ira <justthecooldude@gmail.com>
2023-02-07 14:18:13 +00:00
..
flex Remove broken DoubleEndedIterator impls on event iterators (#7469) 2023-02-05 15:18:19 +00:00
render Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
widget Don't ignore UI scale for text (#7510) 2023-02-05 18:15:22 +00:00
camera_config.rs Extract component derive (#7399) 2023-01-30 18:12:16 +00:00
focus.rs expose cursor position with scale (#7297) 2023-01-20 14:25:24 +00:00
geometry.rs change the default width and height of Size to Val::Auto (#7475) 2023-02-03 01:35:06 +00:00
lib.rs Fix Window feedback loop between the OS and Bevy (#7517) 2023-02-07 14:18:13 +00:00
node_bundles.rs Change default FocusPolicy to Pass (#7161) 2023-01-12 17:15:20 +00:00
stack.rs Rename schedule v3 to schedule (#7519) 2023-02-06 18:44:40 +00:00
ui_node.rs Fix various typos (#7096) 2023-01-06 00:43:30 +00:00
update.rs