summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/menu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-12 04:58:54 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-12 04:59:26 +1100
commit11602f8f76b58731c2056806f43a2c5f7a6b5b35 (patch)
tree855c84305b62b899aaf9a4e43232c579bd9228ce /src/frontend/mame/ui/menu.cpp
parent234a196120aa89052cf8f1b76a4c886d44b9b654 (diff)
frontend: More wording and localisation fixes for colours menus.
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r--src/frontend/mame/ui/menu.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp
index 36ebf0c4d52..14a5c4ae0c1 100644
--- a/src/frontend/mame/ui/menu.cpp
+++ b/src/frontend/mame/ui/menu.cpp
@@ -638,8 +638,11 @@ void menu::draw(uint32_t flags)
// give 2 spaces worth of padding
subitem_width = ui().get_string_width("FF00FF00");
- ui().draw_outlined_box(container(), effective_left + effective_width - subitem_width, line_y0,
- effective_left + effective_width, line_y1, color);
+ ui().draw_outlined_box(
+ container(),
+ effective_left + effective_width - subitem_width, line_y0 + (UI_LINE_WIDTH * 2.0f),
+ effective_left + effective_width, line_y1 - (UI_LINE_WIDTH * 2.0f),
+ color);
}
else
{