X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmenu.cpp;h=99073f5003a4ceb5fe3d28e4e42591c40dca807f;hb=f87231eab36e900a5f96e24e5c0c6fb90ab7bf62;hp=3ea29437fb403bfea1b61b2d42eee3893f60bc4c;hpb=69ab58f652b9ee0b981d01d79ae74b5371418746;p=supertux.git diff --git a/src/menu.cpp b/src/menu.cpp index 3ea29437f..99073f500 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -481,7 +481,7 @@ int Menu::width() } } - return (menu_width * 16 + 48); + return (menu_width * 16 + 24); } int Menu::height() @@ -498,9 +498,9 @@ Menu::draw() /* Draw a transparent background */ fillrect(pos_x - menu_width/2, - pos_y - 24*num_items/2, - menu_width,menu_height, - 150,180,200,100); + pos_y - 24*num_items/2 - 10, + menu_width,menu_height + 20, + 150,180,200,125); for(int i = 0; i < num_items; ++i) {