mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Disallow menu shortcuts when the menu is visible. Fixes unintended feature access when using OTG keyboards on Android.
This commit is contained in:
@@ -658,6 +658,9 @@ namespace PortabilityLayer
|
||||
|
||||
bool MenuManagerImpl::FindMenuShortcut(uint16_t &menuID, uint16_t &itemID, uint8_t shortcutChar)
|
||||
{
|
||||
if (!m_menuBarVisible)
|
||||
return false;
|
||||
|
||||
MenuHandle menuH = m_firstMenu;
|
||||
while (menuH)
|
||||
{
|
||||
|
Reference in New Issue
Block a user