`AlphaMode` is not used as a component anywhere in the engine. It shouldn't implement `Component`. It might mislead users into thinking it has any effect as a component. --- ## Changelog - Remove `Component` implementation for `AlphaMode`. It wasn't used by anything. ## Migration Guide `AlphaMode` is not a component anymore. It wasn't used anywhere in the engine. If you were using it as a component for your own purposes, you should use a newtype instead, as follow: ```rust #[derive(Component, Deref)] struct MyAlphaMode(AlphaMode); ``` Then replace uses of `AlphaMode` with `MyAlphaMode` ```diff - Query<&AlphaMode, …>, + Query<&MyAlphaMode, …>, ``` |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||