crucial dialog reloading bug fixed for good(hardest bug had a single line of code fix)

This commit is contained in:
filipriec
2025-06-08 10:53:46 +02:00
parent e61cbb3956
commit eeaaa3635b
2 changed files with 6 additions and 0 deletions

View File

@@ -18,3 +18,8 @@ Client with tracing:
``` ```
ENABLE_TRACING=1 RUST_LOG=client=debug cargo watch -x 'run --package client -- client' 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
```

View File

@@ -139,6 +139,7 @@ impl AppState {
self.ui.dialog.dialog_active_button_index = 0; self.ui.dialog.dialog_active_button_index = 0;
self.ui.dialog.purpose = None; self.ui.dialog.purpose = None;
self.ui.focus_outside_canvas = false; self.ui.focus_outside_canvas = false;
self.ui.dialog.is_loading = false;
} }
/// Sets the active button index, wrapping around if necessary. /// Sets the active button index, wrapping around if necessary.