From 0dc4081b85a0321d35be86863fb84f9601466fda Mon Sep 17 00:00:00 2001 From: its your bedtime <23366927+itsyourbedtime@users.noreply.github.com> Date: Tue, 20 Jul 2021 04:56:51 +0300 Subject: [PATCH] [FL-1493] text input: fix "up" key behaviour #591 --- applications/gui/modules/text_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/gui/modules/text_input.c b/applications/gui/modules/text_input.c index d4dfa8f6..7c9f6bad 100644 --- a/applications/gui/modules/text_input.c +++ b/applications/gui/modules/text_input.c @@ -237,7 +237,7 @@ static void text_input_handle_up(TextInput* text_input) { text_input->view, (TextInputModel * model) { if(model->selected_row > 0) { model->selected_row--; - if(model->selected_column > get_row_size(model->selected_row) - 5) { + if(model->selected_column > get_row_size(model->selected_row) - 6) { model->selected_column = model->selected_column + 1; } }