move out of canvas properly fixed, now working everyhing properly well
This commit is contained in:
@@ -35,7 +35,8 @@ pub fn handle_login_event(
|
||||
if !login_page.focus_outside_canvas {
|
||||
let last_idx = login_page.editor.data_provider().field_count().saturating_sub(1);
|
||||
let at_last = login_page.editor.current_field() >= last_idx;
|
||||
if at_last
|
||||
if login_page.editor.mode() == CanvasMode::ReadOnly
|
||||
&& at_last
|
||||
&& matches!(
|
||||
(key_code, modifiers),
|
||||
(KeyCode::Char('j'), KeyModifiers::NONE) | (KeyCode::Down, _)
|
||||
|
||||
Reference in New Issue
Block a user