Misc fix
This commit is contained in:
parent
f668d43994
commit
11669f597b
|
@ -45,9 +45,7 @@ pub fn apply_mutations(
|
|||
}
|
||||
Mutation::AssignId { path, id } => todo!(),
|
||||
Mutation::CreatePlaceholder { id } => {
|
||||
let entity = world
|
||||
.spawn((NodeBundle::default(), BackgroundColor::default()))
|
||||
.id();
|
||||
let entity = world.spawn(NodeBundle::default()).id();
|
||||
element_id_to_bevy_ui_entity.insert(id, entity);
|
||||
bevy_ui_entity_to_element_id.insert(entity, id);
|
||||
stack.push(entity);
|
||||
|
|
Loading…
Reference in a new issue