mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-28 18:15:41 -04:00
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…
x
Reference in New Issue
Block a user