Merge "screen_ui: Fix a case that may truncate the last char." am: 2e99c38cfd am: 151126360e am: 228a2f2a37 am: 7f7d9b2f37
am: fbd7429ca3
Change-Id: I3533d4e2c9c242577e8cb05a3590649c3d2697de
This commit is contained in:
+2
-1
@@ -344,7 +344,8 @@ void ScreenRecoveryUI::draw_screen_locked() {
|
||||
y += DrawTextLines(x, y, HasThreeButtons() ? REGULAR_HELP : LONG_PRESS_HELP);
|
||||
|
||||
SetColor(HEADER);
|
||||
y += DrawWrappedTextLines(x, y, menu_headers_);
|
||||
// Ignore kMenuIndent, which is not taken into account by text_cols_.
|
||||
y += DrawWrappedTextLines(kMarginWidth, y, menu_headers_);
|
||||
|
||||
SetColor(MENU);
|
||||
y += DrawHorizontalRule(y) + 4;
|
||||
|
||||
Reference in New Issue
Block a user