Bevy version
main d7d983
Details
UI layout changes don't get propagated correctly. Sometimes nodes completely disappear.
Worst offender, but definitely not the only bug, is this line in text_system:
Query<Entity, Or<(Changed<Text>, Changed<Style>)>>,
A lot of changes to the Style properties won't result in changes to the geometry of the node, and the text gets recomputed needlessly. On the other hand, non-local changes that affect the geometry of the text node aren't recognised and the text doesn't get recomputed when it should be.
An example is that if you set a text node to fill 50% of its parent node, and you change the size of the parent node, the text layout won't be recalculated.
Bevy version
main d7d983
Details
UI layout changes don't get propagated correctly. Sometimes nodes completely disappear.
Worst offender, but definitely not the only bug, is this line in
text_system:A lot of changes to the
Styleproperties won't result in changes to the geometry of the node, and the text gets recomputed needlessly. On the other hand, non-local changes that affect the geometry of the text node aren't recognised and the text doesn't get recomputed when it should be.An example is that if you set a text node to fill 50% of its parent node, and you change the size of the parent node, the text layout won't be recalculated.