bevy/crates/bevy_sprite/src
ickshonpe 2b59ab8e2d
Fix Anchor component inconsistancies (#18393)
## Objective

Fix the misleading 2d anchor API where `Anchor` is a component and
required by `Text2d` but is stored on a field for sprites.

Fixes #18367

## Solution

Remove the `anchor` field from `Sprite` and require `Anchor` instead.

## Migration Guide

The `anchor` field has been removed from `Sprite`. Instead the `Anchor`
component is now a required component on `Sprite`.
2025-05-21 15:32:04 +00:00
..
mesh2d Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
render Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
texture_slice Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
lib.rs Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
picking_backend.rs Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00
sprite.rs Fix Anchor component inconsistancies (#18393) 2025-05-21 15:32:04 +00:00