From 91c7e333d70f47a492ce8cdb10e6592f4c684d44 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 13 Jan 2023 22:46:15 -0500 Subject: Revert "keyboard.c make editline respect current UI font" This reverts commit ebebef556652bd271000727484b72e19970477e1. Reason for revert: I don't want to get too deep into this till I come back to the keyboard rewrite (hopefully) Change-Id: Ia273f1a19a042be2dd0f1ee46690c03f2865cd95 --- apps/recorder/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 6c9b899e5a..f64061d303 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -169,7 +169,7 @@ static void keyboard_layout(struct viewport *kbd_vp, vp->y = 0; /* TOP */ vp->width = sc_w; vp->height = text_height; - vp->font = sc->getuifont();//pm->curfont; + vp->font = pm->curfont; text_height += vp->x + 3; /* MENU */ @@ -1052,7 +1052,7 @@ static void kbd_draw_edit_line(struct keyboard_parameters *pm, sc->hline(0, sc_w - 1, y); #endif /* write out the text */ - sc->setfont(vp->font); //pm->curfont + sc->setfont(pm->curfont); pm->leftpos = MAX(0, MIN(state->len_utf8, state->editpos + 2) - pm->max_chars_text); -- cgit v1.2.3