moving the state from general to each page owning its own state of button or canvas focus
This commit is contained in:
@@ -125,9 +125,6 @@ pub async fn back_to_main(
|
||||
buffer_state.close_active_buffer();
|
||||
buffer_state.update_history(AppView::Intro);
|
||||
|
||||
app_state.ui.focus_outside_canvas = false;
|
||||
app_state.focused_button_index = 0;
|
||||
|
||||
"Returned to main menu".to_string()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user