mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
c0b87d284f
# Objective
- Fixes #5293
- UI nodes with a rotation that made the top left corner lower than the top right corner (z rotations greater than π/4) were culled
## Solution
- Do not cull nodes with a rotation, but don't do proper culling in this case
As a reminder, changing rotation and scale of UI nodes is not recommended as it won't impact layout. This is a quick fix but doesn't handle properly rotations and scale in clipping/culling. This would need a lot more work as mentioned here:
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |