mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed: List menus still allowed to select unselectable items with the mouse.
This was particularly noticable in SW's episode menu with the subtitles.
This commit is contained in:
parent
90b7524706
commit
68387cd59e
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class ListMenu : Menu
|
|||
{
|
||||
for(int i=0;i<mDesc.mItems.Size(); i++)
|
||||
{
|
||||
if (mDesc.mItems[i].CheckCoordinate(x, y))
|
||||
if (mDesc.mItems[i].Selectable() && mDesc.mItems[i].CheckCoordinate(x, y))
|
||||
{
|
||||
if (i != mDesc.mSelectedItem)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue