mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- fixed: The color sliders in the player setup menu may not be selected when inactive.
This commit is contained in:
parent
327a83a54b
commit
a5d743cc3b
1 changed files with 6 additions and 1 deletions
|
@ -211,7 +211,11 @@ class OptionMenuItemPlayerColorSlider : OptionMenuSliderBase
|
|||
return indent;
|
||||
}
|
||||
|
||||
|
||||
override bool Selectable()
|
||||
{
|
||||
int mycolorset = players[consoleplayer].GetColorSet();
|
||||
return (mycolorset == -1);
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@ -522,6 +526,7 @@ class NewPlayerMenu : OptionMenu
|
|||
return Super.OnUIEvent(ev);
|
||||
}
|
||||
|
||||
|
||||
//=============================================================================
|
||||
//
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue