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::AssignId { path, id } => todo!(),
|
||||||
Mutation::CreatePlaceholder { id } => {
|
Mutation::CreatePlaceholder { id } => {
|
||||||
let entity = world
|
let entity = world.spawn(NodeBundle::default()).id();
|
||||||
.spawn((NodeBundle::default(), BackgroundColor::default()))
|
|
||||||
.id();
|
|
||||||
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);
|
||||||
stack.push(entity);
|
stack.push(entity);
|
||||||
|
|
Loading…
Reference in a new issue