- cleaned out some cruft from the menu code, now that ListMenu is fully scripted.

This commit is contained in:
Christoph Oelckers 2017-02-18 19:11:53 +01:00
commit 1b4c9e13b8
11 changed files with 47 additions and 365 deletions

View file

@ -186,7 +186,7 @@ void UpdateJoystickMenu(IJoystickConfig *selected)
{
opt->mSelectedItem = opt->mItems.Size() - 1;
}
opt->CalcIndent();
//opt->CalcIndent();
// If the joystick config menu is open, close it if the device it's open for is gone.
if (DMenu::CurrentMenu != nullptr && (DMenu::CurrentMenu->IsKindOf("JoystickConfigMenu")))