CommonHostInterface: Use key-release to open quick menu

Fixes auto closing when it's bound to escape.
pull/1769/head
Connor McLaughlin 5 years ago
parent e2694b2570
commit e0161c3bb2

@ -1789,7 +1789,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
{
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenQuickMenu"),
TRANSLATABLE("Hotkeys", "Open Quick Menu"), [this](bool pressed) {
if (pressed && m_fullscreen_ui_enabled)
if (!pressed && m_fullscreen_ui_enabled)
FullscreenUI::OpenQuickMenu();
});

Loading…
Cancel
Save