summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-12-21 20:00:47 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-21 20:00:47 +0100
commitfc0665c70188ada25aff6d2863014a483338ad55 (patch)
tree8388eb0cd43a14e7fa691f80f6b0d32d25807c50
parentMerge "Clean up the arg setup for exec(3)." (diff)
parentAdd a horizontal line at the end of the graphic menu (diff)
downloadandroid_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar.gz
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar.bz2
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar.lz
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar.xz
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.tar.zst
android_bootable_recovery-fc0665c70188ada25aff6d2863014a483338ad55.zip
-rw-r--r--screen_ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 575605452..7fa41c4e4 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -252,6 +252,7 @@ int GraphicMenu::DrawItems(int x, int y, int screen_width, bool long_press) cons
draw_funcs_.SetColor(UIElement::MENU);
}
+ offset += draw_funcs_.DrawHorizontalRule(y + offset);
return offset;
}