From 73a1d83f50106cfe265c992cad9dcdb7ceccc3fa Mon Sep 17 00:00:00 2001 From: jurkan Date: Thu, 10 May 2012 22:11:48 +0200 Subject: Corrected coordinates of window menu The window menu (the row of buttons at the top right in game) was displayed 3 pixels left of where it should be, which makes the setup button jump 3 pixels left when logging in. Reviewed-by: Ablu --- src/gui/windowmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 930e9e0e..12624bf1 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -72,7 +72,7 @@ WindowMenu::WindowMenu(): addButton(N_("Setup"), x, h, "button-icon-setup.png", KeyboardConfig::KEY_WINDOW_SETUP); - setDimension(gcn::Rectangle(graphics->getWidth() - x - 3, 3, + setDimension(gcn::Rectangle(graphics->getWidth() - x, 3, x - 3, h)); setVisible(true); } -- cgit v1.2.3-70-g09d2