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