moving the state from general to each page owning its own state of button or canvas focus
This commit is contained in:
@@ -56,8 +56,6 @@ pub async fn back_to_login(
|
||||
// Reset focus state
|
||||
register_state.focus_outside_canvas = false;
|
||||
register_state.focused_button_index = 0;
|
||||
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