bevy/crates/bevy_ui/src
Nicola Papale 83de94f9f9
Register a few missed reflect components (#8807)
# Objective

-  Some reflect components weren't properly registered.

## Solution

- We register them
- I also sorted the register lines in `Plugin::build` in `bevy_ui`

### Note

How I did I find them:

- I picked up the list of `Component`s from the `Component` trait page
in rustdoc.
- Then I tried to register all of them. Removing the registration when
it doesn't implement `Reflect` to pass compilation.
- Then I added `app.register_type_data::<T, Foo>()`, for all Reflect
components. It panics if `T` is not registered.
- I repeated the last line N times until bevy stopped panicking at
startup

---

## Changelog

- Register the following components: `PrimaryWindow` `Fxaa`
`FogSettings` `NotShadowCaster` `NotShadowReceiver` `CalculatedClip`
`RelativeCursorPosition`
2023-06-10 23:19:39 +00:00
..
layout Fix errors in the doc comment for UiSurface::upsert_node. (#8796) 2023-06-09 11:59:57 +00:00
render Webgpu support (#8336) 2023-05-04 22:07:57 +00:00
widget Fix Node::physical_rect and add a physical_size method (#8551) 2023-05-11 18:38:01 +00:00
accessibility.rs Move bevy_ui accessibility systems to PostUpdate. (#8653) 2023-05-23 23:50:48 +00:00
camera_config.rs bevy_ui: Add FromReflect derives (#8495) 2023-04-26 12:17:23 +00:00
focus.rs Perform relative_cursor_position calculation vectorwise in ui_focus_system (#8795) 2023-06-09 12:01:07 +00:00
geometry.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
lib.rs Register a few missed reflect components (#8807) 2023-06-10 23:19:39 +00:00
measurement.rs MeasureFunc improvements (#8402) 2023-05-01 15:40:53 +00:00
node_bundles.rs Replace the local text queues in the text systems with flags stored in a component (#8549) 2023-05-08 13:57:52 +00:00
stack.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
ui_node.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
update.rs Split UI Overflow by axis (#8095) 2023-04-17 22:23:52 +00:00