summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-12-21 20:24:01 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-12-21 20:24:01 +0100
commit81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48 (patch)
treee6e5f3752c7618eab6de1a3f85f3a709c6fd2e95
parentMerge "Clean up the arg setup for exec(3)." am: f0c03e62a2 am: 1b94d3a35b (diff)
parentMerge "Add a horizontal line at the end of the graphic menu" am: fc0665c701 (diff)
downloadandroid_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar.gz
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar.bz2
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar.lz
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar.xz
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.tar.zst
android_bootable_recovery-81d8e2e4ddeb4c8bf864442cad7b1e74f0d10c48.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;
}