Fix intrinsic text

This commit is contained in:
JMS55 2023-12-21 22:47:11 -08:00
parent 3f6669228f
commit 388509840e

View file

@ -75,6 +75,7 @@ pub fn apply_mutations(
TextLayoutInfo::default(), TextLayoutInfo::default(),
TextFlags::default(), TextFlags::default(),
ContentSize::default(), ContentSize::default(),
IntrinsicTextNode,
)); ));
element_id_to_bevy_ui_entity.insert(id, entity); element_id_to_bevy_ui_entity.insert(id, entity);
bevy_ui_entity_to_element_id.insert(entity, id); bevy_ui_entity_to_element_id.insert(entity, id);