mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +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++)
|
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)
|
if (i != mDesc.mSelectedItem)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue