intro buttons fixed
This commit is contained in:
@@ -56,7 +56,7 @@ pub fn render_intro(f: &mut Frame, intro_state: &IntroState, area: Rect, theme:
|
||||
|
||||
let buttons = ["Continue", "Admin", "Login", "Register"];
|
||||
for (i, &text) in buttons.iter().enumerate() {
|
||||
let active = intro_state.focus_outside_canvas && intro_state.focused_button_index == i;
|
||||
let active = intro_state.focused_button_index == i;
|
||||
render_button(f, button_area[i], text, active, theme);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user