summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-12-21 20:10:52 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-12-21 20:10:52 +0100
commit095b6858ddfbe579174f088472b8c7fc718f9b44 (patch)
tree8388eb0cd43a14e7fa691f80f6b0d32d25807c50
parentMerge "Clean up the arg setup for exec(3)." (diff)
parentMerge "Add a horizontal line at the end of the graphic menu" (diff)
downloadandroid_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar.gz
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar.bz2
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar.lz
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar.xz
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.tar.zst
android_bootable_recovery-095b6858ddfbe579174f088472b8c7fc718f9b44.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;
}