fixed amb1468 - renderer marked disabled items as valid selections
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401879
This commit is contained in:
parent
7a5b8caa16
commit
cf52d02803
@ -448,7 +448,14 @@ skip_search:
|
|||||||
if (position != 0)
|
if (position != 0)
|
||||||
{
|
{
|
||||||
slots[position].item = drawItems[i].position;
|
slots[position].item = drawItems[i].position;
|
||||||
slots[position].type = ItemSel_Item;
|
if ((dr.style & ITEMDRAW_DISABLED) == ITEMDRAW_DISABLED)
|
||||||
|
{
|
||||||
|
slots[position].type = ItemSel_None;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
slots[position].type = ItemSel_Item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -469,7 +476,14 @@ skip_search:
|
|||||||
if (position != 0)
|
if (position != 0)
|
||||||
{
|
{
|
||||||
slots[position].item = drawItems[i].position;
|
slots[position].item = drawItems[i].position;
|
||||||
slots[position].type = ItemSel_Item;
|
if ((dr.style & ITEMDRAW_DISABLED) == ITEMDRAW_DISABLED)
|
||||||
|
{
|
||||||
|
slots[position].type = ItemSel_None;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
slots[position].type = ItemSel_Item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user