diff --git a/src/lib.rs b/src/lib.rs index 30694a5..d7460b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,8 +38,11 @@ impl Plugin for DevConsolePlugin { Update, ( ui::read_logs, - ui::open_close_ui, - ui::render_ui.run_if(|s: Res| s.open), + ( + ui::open_close_ui, + ui::render_ui.run_if(|s: Res| s.open), + ) + .chain(), ), ); }