summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjurkan <jurkan@gmx.de>2012-05-10 22:11:48 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-05-10 22:28:26 +0200
commit73a1d83f50106cfe265c992cad9dcdb7ceccc3fa (patch)
treee4ff3dc660a89dea904a64c2e715b38e0c902fdd
parentef9a76581386524f43b547f046b7e41b769c415e (diff)
downloadmana-client-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.gz
mana-client-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.bz2
mana-client-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.xz
mana-client-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.zip
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
-rw-r--r--src/gui/windowmenu.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}