commit | c7dbc735d200d78a2129cd1a134e4c7a5d513bb2 | [log] [tgz] |
---|---|---|
author | xunchang <xunchang@google.com> | Thu Dec 20 11:31:18 2018 -0800 |
committer | xunchang <xunchang@google.com> | Thu Dec 20 11:36:55 2018 -0800 |
tree | f8641b6d74c22366fd0ec77e9fa6c66aa8fdddd8 | |
parent | 2e7393dbdebe8f7e2af6eed0b0cbf523a90733bb [diff] |
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
diff --git a/screen_ui.cpp b/screen_ui.cpp index 5756054..7fa41c4 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp
@@ -252,6 +252,7 @@ draw_funcs_.SetColor(UIElement::MENU); } + offset += draw_funcs_.DrawHorizontalRule(y + offset); return offset; }