From c7dbc735d200d78a2129cd1a134e4c7a5d513bb2 Mon Sep 17 00:00:00 2001 From: xunchang Date: Thu, 20 Dec 2018 11:31:18 -0800 Subject: Add a horizontal line at the end of the graphic menu This is in line with the old behavior and the UI of TextMenu. Bug: 121280655 Test: check the menu Change-Id: I4b82b93187b2d02cfe5b31a9a8fb621d10dd5d8a --- screen_ui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'screen_ui.cpp') 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; } -- cgit v1.2.3