diff options
Diffstat (limited to 'engine/src/ui')
| -rw-r--r-- | engine/src/ui/dear_imgui.rs | 2 | ||||
| -rw-r--r-- | engine/src/ui/view/world.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/ui/dear_imgui.rs b/engine/src/ui/dear_imgui.rs index c710784..b571cee 100644 --- a/engine/src/ui/dear_imgui.rs +++ b/engine/src/ui/dear_imgui.rs @@ -210,7 +210,7 @@ fn handle_window_changed( } fn update( - target_window_query: Query<(&Window, &SurfaceSpec), (With<TargetWindow>,)>, + target_window_query: Query<(&Window, &SurfaceSpec, With<TargetWindow>)>, mut context: Single<Context>, time: Single<Time>, mut assets: Single<Assets>, diff --git a/engine/src/ui/view/world.rs b/engine/src/ui/view/world.rs index 9803328..8552ec1 100644 --- a/engine/src/ui/view/world.rs +++ b/engine/src/ui/view/world.rs @@ -410,7 +410,7 @@ fn enter_add_component_popup_state( let popup_name = format!("Add component to {ent_title}"); let mut searchable_components = world - .query::<(&ComponentInfo,), ()>() + .query::<(&ComponentInfo,)>() .iter_with_euids() .map(|(id, (component_info,))| { let user_creatable = if component_info.type_reflection.is_none() { |
