From 11669f597be715720b727d4e65afb1348b00e987 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:42:22 -0800 Subject: [PATCH] Misc fix --- src/apply_mutations.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/apply_mutations.rs b/src/apply_mutations.rs index 5f5b431..2b9328d 100644 --- a/src/apply_mutations.rs +++ b/src/apply_mutations.rs @@ -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);