Skip to content

Commit

Permalink
Fix a glitch with SPACE btn and navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
dexxter00 committed Jan 14, 2025
1 parent a854101 commit 29c78bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/mykeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,11 +504,16 @@ String keyboard(String mytext, int maxSize, String msg) {
else x++;

if (y > 3) y = -1;
if (y==-1 && x>3) x = 0;

redraw = true;
}
/* UP Btn to move in Y axis (Downwards) */
if(check(PrevPress)) {
if(check(EscPress)) { y--; }
if(check(EscPress)) {
y--;
if(y==-1 && x>3) x=3;
}
else if(x==0) { y--; x--; }
else x--;

Expand Down

0 comments on commit 29c78bf

Please sign in to comment.