CommonHostInterface: Use key-release to open quick menu
Fixes auto closing when it's bound to escape.
This commit is contained in:
parent
e2694b2570
commit
e0161c3bb2
|
@ -1789,7 +1789,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
|
||||||
{
|
{
|
||||||
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenQuickMenu"),
|
RegisterHotkey(StaticString(TRANSLATABLE("Hotkeys", "General")), StaticString("OpenQuickMenu"),
|
||||||
TRANSLATABLE("Hotkeys", "Open Quick Menu"), [this](bool pressed) {
|
TRANSLATABLE("Hotkeys", "Open Quick Menu"), [this](bool pressed) {
|
||||||
if (pressed && m_fullscreen_ui_enabled)
|
if (!pressed && m_fullscreen_ui_enabled)
|
||||||
FullscreenUI::OpenQuickMenu();
|
FullscreenUI::OpenQuickMenu();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue