- 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:
Christoph Oelckers 2021-08-24 10:08:25 +02:00
parent 90b7524706
commit 68387cd59e

View file

@ -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)
{