diff --git a/README.md b/README.md index 19400a1..8238d9e 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,8 @@ Client with tracing: ``` ENABLE_TRACING=1 RUST_LOG=client=debug cargo watch -x 'run --package client -- client' ``` + +Client with debug that cant be traced +``` +cargo run --package client --features ui-debug -- client +``` diff --git a/client/src/state/app/state.rs b/client/src/state/app/state.rs index d727626..582c135 100644 --- a/client/src/state/app/state.rs +++ b/client/src/state/app/state.rs @@ -139,6 +139,7 @@ impl AppState { self.ui.dialog.dialog_active_button_index = 0; self.ui.dialog.purpose = None; self.ui.focus_outside_canvas = false; + self.ui.dialog.is_loading = false; } /// Sets the active button index, wrapping around if necessary.