mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 17:48:01 +02:00
Only close if we click on a valid item
This commit is contained in:
parent
957039e7cc
commit
4b2238337d
1 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,9 @@ namespace Beefy.theme.dark
|
||||||
if (mMenuItem.mItems.Count > 0)
|
if (mMenuItem.mItems.Count > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (mIndex != mMenuWidget.mSelectIdx)
|
||||||
|
return;
|
||||||
|
|
||||||
if ((btn == 0) && (mMouseOver))
|
if ((btn == 0) && (mMouseOver))
|
||||||
{
|
{
|
||||||
Submit();
|
Submit();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue