login and register are now havving own handlers and loaders, moving logic out of event.rs and ui.rs
This commit is contained in:
@@ -80,7 +80,7 @@ pub fn render_login(
|
||||
|
||||
// Login Button
|
||||
let login_button_index = 0;
|
||||
let login_active = if app_state.ui.focus_outside_canvas {
|
||||
let login_active = if login_page.focus_outside_canvas {
|
||||
app_state.focused_button_index == login_button_index
|
||||
} else {
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user