Open
Description
Bug Report
Actual behavior:
See title.
Expected behavior:
The center_x and center_y should reflect the new positioning due to its texture changing.
Steps to reproduce/example code:
- Create a Sprite with a Texture.
- Check it's center_x and center_y.
- Update its Texture to one of a different size.
- Observe no change to the Sprite's center_x and center_y properties.
b = sprite.bottom
sprite.set_texture(1) # different size
sprite.bottom = b # does nothing, even though the size is different