diff options
Diffstat (limited to 'src/ui_menu.cpp')
-rw-r--r-- | src/ui_menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_menu.cpp b/src/ui_menu.cpp index 09b09c8..c9510c2 100644 --- a/src/ui_menu.cpp +++ b/src/ui_menu.cpp @@ -135,7 +135,7 @@ namespace ui { //draw the dark transparent background glColor4f(0.0f, 0.0f, 0.0f, .8f); - glRectf(offset.x-SCREEN_WIDTH/2,0,offset.x+SCREEN_WIDTH/2,SCREEN_HEIGHT); + glRectf(offset.x-SCREEN_WIDTH/2,-SCREEN_HEIGHT/2,offset.x+SCREEN_WIDTH/2,SCREEN_HEIGHT/2); //loop through all elements of the menu for (auto &m : currentMenu->items) { |