Skip to content

Commit d134115

Browse files
committed
control menu work
1 parent 2a17cad commit d134115

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/MenuState.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ MenuState :: MenuState(
3636
m_pCanvas.get(),
3737
m_pQor->resources(),
3838
"Press Start",
39-
engine->window()->size().y / 25.0f,
39+
engine->window()->size().y / 30.0f,
4040
&m_Fade
4141
))
4242
{
@@ -333,9 +333,10 @@ void MenuState :: init_controls_menu()
333333

334334
for(auto&& bind: m_Binds)
335335
m_ControlsMenu.options().emplace_back(
336-
bind.first + ": " + boost::algorithm::join(bind.second, ", "),
336+
boost::to_upper_copy(bind.first) + ": " +
337+
boost::algorithm::join(bind.second, ", "),
337338
[this]{
338-
339+
m_pMenuGUI->hide();
339340
}
340341
);
341342
}

0 commit comments

Comments
 (0)