diff options
author | Stijn Buys <ingar@osirion.org> | 2009-01-27 18:53:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-01-27 18:53:24 +0000 |
commit | 9c2d1a1c867bbd7eea083dbc03c0acf1edace8c2 (patch) | |
tree | 51b0f6e52d4dc368fc8358aa86cca395b6d2506b /src/ui/menu.cc | |
parent | 76a49efdf62a53a54e2deeb559422f11c1e955dd (diff) |
moves docking menus from ui to client,
allow map and chat window while docked
Diffstat (limited to 'src/ui/menu.cc')
-rw-r--r-- | src/ui/menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/menu.cc b/src/ui/menu.cc index a7e2d68..f1364ac 100644 --- a/src/ui/menu.cc +++ b/src/ui/menu.cc @@ -58,7 +58,7 @@ void Menu::resize() { set_size(parent()->size()); menu_background->set_size(size()); - menu_container->set_location(UI::elementsize.width() * 0.25, (height() - menu_container->height()) / 2.0f); + menu_container->set_location(ui::UI::elementsize.height(), (height() - menu_container->height()) / 2.0f); } } |