1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Return result of ComponentPeer::handleKeyPress() in doAppCommand() to prevent JUCE apps always consuming media keys

This commit is contained in:
ed 2020-09-22 10:10:40 +01:00
parent 5250dc815d
commit 4a09440222

View file

@ -3176,10 +3176,7 @@ private:
updateKeyModifiers();
if (hwnd == GetActiveWindow())
{
handleKeyPress (key, 0);
return true;
}
return handleKeyPress (key, 0);
}
return false;