diff options
author | jurkan <jurkan@gmx.de> | 2012-05-10 22:11:48 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-05-10 22:28:26 +0200 |
commit | 73a1d83f50106cfe265c992cad9dcdb7ceccc3fa (patch) | |
tree | e4ff3dc660a89dea904a64c2e715b38e0c902fdd /src/gui/windowmenu.cpp | |
parent | ef9a76581386524f43b547f046b7e41b769c415e (diff) | |
download | mana-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.gz mana-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.bz2 mana-73a1d83f50106cfe265c992cad9dcdb7ceccc3fa.tar.xz mana-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
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 2 |
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); } |