Skip to content

Commit

Permalink
CommonHostInterface: Use key-release to open quick menu
Browse files Browse the repository at this point in the history
Fixes auto closing when it's bound to escape.
  • Loading branch information
stenzek committed Mar 8, 2021
1 parent e2694b2 commit e0161c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend-common/common_host_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit e0161c3

Please sign in to comment.