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
This commit is contained in:
xunchang
2018-12-20 11:36:55 -08:00
parent 2e7393dbde
commit c7dbc735d2
+1
View File
@@ -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;
}